The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirecting a domain

Discussion in 'General Discussion' started by rkm11, Aug 28, 2008.

  1. rkm11

    rkm11 Active Member

    Joined:
    May 30, 2007
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. plague

    plague Active Member

    Joined:
    Sep 22, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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.
     
Loading...

Share This Page