rkm11

Active Member
May 30, 2007
31
0
156
I'm trying to redirect a domain to a windows server using host headers (IIS). In WHM I changed the first a record that points to my server IP to the other server IP (this is a VPS with 1 IP address).

When I go to www.domain.com it redirects to the windows server, but when I go to domain.com, it leads me to the page on the current server.

How do I redirect the domain without the www?

Thanks,
Ryan
 

plague

Well-Known Member
Sep 22, 2006
76
17
158
Brasil
cPanel Access Level
Root Administrator
Twitter
If you changed the A record, both entries should be redirected.
domain.com points to windows server em www.domain.com is a CNAME do domain.com right?

I think the "problem" is just cache in your network.
Try clear your cache (if in windows). In cmd, type:

ipconfig /flushdns

This should help. Or just wait a while, till the new config propagete to your network.