DNS(Name servers), IP and domain.. All Showing Same Site...
-
Hello,
My site is hosted on VPS with dedicate IP.
The problem I am facing is my site is indexed and cached by domain, IP address and name server.
I am able to open all the pages via www.xyz.com and and IP 1.1.1.1 and the name sever like ns1. hosted.com
And if I USE site operator in google for 1.1.1.1 and ns1.hosted.com there are so many pages which is cache and in sites.
Is it any server issue my hosting company give me a reply as given below
"This is because that site is on the same ip as the nameserver. This is completely correct and normal. This is not an error."
Is it true ?
can you help me in this issue?
Thanks
-
pop this in your htaccess file, obviouly change to fit your domain
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\xyz.com$
RewriteRule (.*) http://www.xyz.com/$1 [R=301,L] -
yes its linux.....
-
Yes it is correct if its on the same ip. but you should 301 redirecet to the canonical domain.
1.1.1.1 and ns1.hosted.com should 301 redirect to www.xyz.com
What type of server are you hosted on linux or windows?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
When domain a buys domain b (whose links direct to c), does domain a has links redirecting to domain c ?
Hi, I really need to know what happens when a company or domain (a) acquires another company with domain (b) with its links pointing to yet another location (c). Does company a then have redirects to c?
Intermediate & Advanced SEO | | Yeshourun0 -
Site naming - longer tail with keyword or short but off-term - does it matter?
So, we've established that the actual domain name is not a big ranking factor for google. However your chosen domain & site name will feature in your content so I'm figuring it does matter indirectly. Eg given a choice between: bobsfidgetspinners.com, welcome to "bobs fidget spinners", we sell fidget spinners.... or spinnersfidget.com, welcome to "spinners fidget", we sell fidget spinners I'm going on the assumption that the former is better because it introduces more on-term content (as well as nicer branding). For the limit content that talks about your brand name anyway. Is this a correct assumption? Would it make any difference if the rest of the site content was on-topic (and good, obviously)?
Intermediate & Advanced SEO | | HSDOnline0 -
301 Redirect Only Home Page/Root Domain via Domain Registrar Only
Hi All, I am really concerned about doing a 301 redirect. This is my situation: Both Current and New Domain is registered with a local domain registrar (similar to GoDaddy but a local version) Current Domain: Servers are pointing to Wix servers and the website is built and hosted with Wix I would like to do a 301 redirect but would like to do it in the following way with a couple of factors to keep in mind: 99% of my link are only pointed to the home page/root domain only. Not to subdirectories. New Domain: I will register this with wix with a new plan but keep the exact sitemap and composition of current website and launch with new domain. Current Domain: I want to change server pointing to wix to point to local domain registrar servers. Then do a 301 redirect for only the home page/root domain to point to the new domain listed with wix. So 301 is done via local registrar and not via Wix. Another point to mention is it will also change from Http to Https as well as a name change. Your comments on the above will be greatly appreciated and as to whether there is risk in trying to do a 301 redirect as above. Doing it as above it also cheaper if I do the 301 via the wix platform I will need to register a full new premium plan and run it concurrently to the old plan whereas if I do it as mentioned above will only have the additional domain annual fee. Look forward to your comments. Mike
Intermediate & Advanced SEO | | MikeBlue10 -
Competition site with Duplicate Name
I have a client who is in real estate and one of his competition used the same Name and Domain and added the word Toronto in front. The competition is putting similar content on the website. The competition also hijacked the Google listing since they both work in the same building. Is this going to affect the ranking our website? What negative effect will it put on our website?
Intermediate & Advanced SEO | | KaranX0 -
Site not showing up in search - was hacked - huge comment spam - cannot connect Webmaster tools
Hi Moz Community A new client approached me yesterday for help with their site that used to rank well for their designated keywords, but now is not doing well. Actually, they are not on Google at all. It's like they were removed by Google. There are not reference to them when searching with "site: url". I investigated further and discovered the likely problem . . . 26 000 spam comments! All these comments have been removed now. I clean up this Wordpress site pretty well. However, I want to connect it now to Google webmaster tools. I have admin access to the WP site, but not ftp. So I tried using Yoast to connect. Google failed to verify the site. So the I used a file uploading console to upload the Google html code instead. I check that the code is there. And Google still fails to verify the site. It is as if Google is so angry with this domain that they have wiped it completely from search and refuse to have any dealings with it at all. That said, I did run the "malware" check or "dangerous content" check with them that did not bring back any problems. I'm leaning towards the idea that this is a "cursed" domain in Google and that my client's best course of action is to build her business around and other domain instead. And then point that old domain to the new domain, hopefully without attracting any bad karma in that process (advice on that step would be appreciated). Anyone have an idea as to what is going on here?
Intermediate & Advanced SEO | | AlistairC0 -
2 sites or one sites: 2 locations
Hello, I have a dog training client who is offering services in 2 separate locations. We're looking to be first in the non-local search results and also rank well in google places. Would it be better to go for 2 separate sites or one site and try to rank for 2 different locations with one site? There's both local and standard search results when we type in our keywords. Thanks!
Intermediate & Advanced SEO | | BobGW0 -
On-Site Optimization Tips for Job site?
I am working on a job site that only ranks well for the homepage with very low ranking internal pages. My job pages do not rank what so ever and are database driven and often times turn to 404 pages after the job has been filled. The job pages have to no content either. Anybody have any technical on-site recommendations for a job site I am working on especially regarding my internal pages? (Cross Country Allied.com) Any help would be much appreciated.
Intermediate & Advanced SEO | | Melia0 -
Domains
I am currently working on a huge website which ranks very well receiving 150,000 visitors every day. I have been offered the chance to buy some more domain names which would suit my keywords in the current site. These domains as a keyword also receive huge amounts of traffic. Would it be beneficial for me to do this....if so why? Thanks
Intermediate & Advanced SEO | | wazza19850