We have a website website.test.company.com
and in internal DNS (server 2012 r2) it has 10.0.0.21, which is our server address internally. However when we type in www.website.test.company.com
it resolves to website.com
and shows the live page instead of our test server? I cannot think of why this would be can anyone point me in a direction, in my mind the http path shouldnt even get outside of the gateway?
Asked
Active
Viewed 138 times
10

Randy Pratt
- 101
- 2
-
IS www.website.test.company.com configured as a CNAME RECORD to website.test.company.com in the internal DNS? – Vikelidis Kostas Dec 05 '16 at 18:02
-
It is configured as an A name – Randy Pratt Dec 05 '16 at 18:06
-
`website.test.company.com`, `www.website.test.company.com` are two separate things. Add in `website.com` and you're talking about three. Some detail might help clarify. – jscott Dec 05 '16 at 18:30
-
oh, fair enough. I think that may be it. – Randy Pratt Dec 05 '16 at 18:32
-
I added `www.website.test` and it then resolved to the public site at `www.website.com`, there was no www in internal dns. Now there is and they both resolve to the public `www.website.com` – Randy Pratt Dec 05 '16 at 18:39
-
it resolves...or does it 301 redirect to the other url – Jacob Evans Dec 06 '16 at 04:35
1 Answers
10
In the world of DNS website.test.company.com
and www.website.test.company.com
are two completely different URLs.
Whether you are running Windows or Linux and your webserver you need to make you sure have either an alias for www.website.test.company.com
or a binding in IIS for www.website.test.company.com
You also want to make sure you have a CNAME record setup on your internal DNS for www.website.test.company.com
or if you want create a new A record for www.website.test.company.com

James Connigan
- 137
- 2
- 13

Anthony Fornito
- 9,546
- 1
- 34
- 124