Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Seo Problem site show over ip

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
biscaino
Posts: 1
Joined: Sun Jun 25, 2017 12:17 pm

Seo Problem site show over ip
  • Quote

Post by biscaino » Tue Feb 06, 2018 3:11 am

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
Top

noogen
Posts: 66
Joined: Thu Jan 05, 2017 9:20 pm

Re: Seo Problem site show over ip
  • Quote

Post by noogen » Wed Feb 07, 2018 1:12 am

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.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password