Can’t Access A Web Server Using www.xxx, but ok if http://xxx

Jerry February 2, 2010
Pinterest Stumbleupon Whatsapp

I run a web server using dyndns. Actually I do this at two different sites. At one site the web server can be reached by either http://www.domainname OR http://domainname. But the other site can only be reached if using http://domainname.

Of course the domain names are unique for each of the two sites. I would like for users to be able to reach the second site by using http://www.domainname, any suggestions???

Ads by Google

  1. Wikrband
    March 8, 2012 at 3:09 pm

    faniy

  2. Chris Davies
    June 30, 2010 at 8:37 pm

    It's partly all about the DNS entries, and partly about the vHost configuration (if any) for the target website. First, you need to ensure that you have a DNS entry mapping "domain" to the target IP address, but also one for "www.domain" to that same IP address. Next you need to ensure that your website accepts both "domain" and "www.domain" as being valid for your website in question. Without specifics it's very hard to give concrete answers, but hopefully this will get you started. Chris

    • pceasies
      July 23, 2010 at 5:00 pm

      You need to make sure DynDNS is set to support wildcards. It looks like they don't allow the option on free accounts anymore. You can try to set it up with Virtual Hosts alone, but normally you need both. If you want help setting up virtual hosts you'll have to provide the software you use. (Probably Apache if you are using XAMPP or WAMP, possibly lighttpd, those are the most common)

  3. Jack Cola
    February 3, 2010 at 10:52 am

    I think it will be best to ask for support from your dns provider for your domain name.

  4. Jerry
    February 2, 2010 at 7:23 pm

    Ok, but I don't have a domain hosting service. I run my own web servers on pc's that use dynamic dns updaters to keep the ip address current.

  5. ├Žnon1mus
    February 2, 2010 at 10:37 am

    This is an option provided by your domain hosting service. You need to check the settings.

Ads by Google