Page 1 of 1

Seo Problem site show over ip

Posted: Tue Feb 06, 2018 3:11 am
by biscaino
The vesta has a serious problem when searching google site://ip will show the site that is being displayed via ip this is a problem for those who are looking for rank and best position in google or site://ns.yourdomain.com
this will double content and earn a penalty

I would like to know how to resolve in vestacp so that no more site happens to access via ip

i use nginx+apache

Re: Seo Problem site show over ip

Posted: Wed Feb 07, 2018 1:12 am
by noogen
There are 3 solutions:

1. Use htaccess if you're using apache - https://stackoverflow.com/questions/207 ... ot-correct

2. Create a separate site for your web/app? Have a dummy page for the default site.

I'm guessing that the issue is that you setup your website on the default site. Create a new user and move your website there. Put up a dummy index.html for the default site inside of public_html.

3. For more advance user, the key is to define a redirect to main site from default site/ip in your nginx conf file.