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 DNS Server
  • Search

DNS issue

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
elpak
Posts: 10
Joined: Sun Oct 21, 2018 7:42 am
Contact:
Contact elpak
Website

Os: Ubuntu 15x
Web: apache + nginx
DNS issue
  • Quote

Post by elpak » Sun Oct 21, 2018 8:48 am

I use Vesta for 10 sites in my profile and they all use the same DNS. When do I search in google site:domain.com I found links from one (1) site in others. Like this https://domain.com and https://w.domain.com. Where is the problem and how can I solve it? When in DNS settings in Vesta am I wrong?
Top

chrisf
Posts: 49
Joined: Sat Oct 13, 2018 6:25 pm

Os: Ubuntu 16x
Web: apache + nginx
Re: DNS issue
  • Quote

Post by chrisf » Sun Oct 21, 2018 3:18 pm

Easiest way is to create an apache rewrite rule to drop 'www' from our site with a 301 permanent. This will stop bots from indexing it.

Don't remove 'www' from DNS. Its the sites FQDN.

Google it, 'apache2 rewrite www' it will have many references :-)
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “DNS 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