Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    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
     
  2. plague

    plague Well-Known Member

    Joined:
    Sep 22, 2006
    Messages:
    48
    Likes Received:
    1
    Trophy Points:
    158
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice