Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member rkm11's Avatar
    Join Date
    May 2007
    Posts
    31

    Default Redirecting a domain

    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. #2
    Member plague's Avatar
    Join Date
    Sep 2006
    Location
    Brasil
    Posts
    41

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Redirecting Sub Domain To Another Account
    By jeverd01 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-23-2010, 06:18 PM
  2. Redirecting Domain to file
    By takuhii in forum New User Questions
    Replies: 6
    Last Post: 06-17-2009, 06:23 PM
  3. redirecting addon domain
    By kotr in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-07-2004, 06:11 PM
  4. redirecting a domain to a subfolder
    By 1link4it in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 03-17-2004, 08:54 AM
  5. Redirecting Domain
    By Coffeymate in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-12-2003, 10:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube