#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0

    Domainname redirect in DNS


    Hi there,

    I hope someone knows how to resolve my problem.

    I set the domeinname with DNS to go to our server and when jou go to site using the domainname with www. in front of it everything works fine but when you want to use the domainname without the www. in front of it, it doesn't. Then it goes to our server but to the standard server page and not to my site.
    I have more sites set the same way in DNS and they never had this problem. I don't know if the problem is in DNS or at our server.

    The domainname is: jachthavenoversteeg.nl

    Does anyone know how to fix this?

    Kind Regards,
    Karin
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,110
    Rep Power
    9398
    As long as the user is going to the right machine, DNS is set up correctly.

    The web server needs to be set up so that www.domainname.com and domainname.com both correspond to the same site. Right now it's only configured for www.domainname.com. With Apache, for example, the site .conf needs
    Code:
    ServerName www.domainname.com
    ServerAlias domainname.com
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    2
    Rep Power
    0
    Originally Posted by requinix
    As long as the user is going to the right machine, DNS is set up correctly.

    The web server needs to be set up so that www.domainname.com and domainname.com both correspond to the same site. Right now it's only configured for www.domainname.com. With Apache, for example, the site .conf needs
    Code:
    ServerName www.domainname.com
    ServerAlias domainname.com
    Thank you very much for your reaction! That helps a lot.
    So it is a problem on the server and not in the DNS of the domainname. That is good to know. Now i know where to go for fixing the problem. Thank you!!

IMN logo majestic logo threadwatch logo seochat tools logo