Feb022010

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

Jerry asks:

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???



Comments for this Question are closed.

If you are looking for help, please ask a new question here.

We will be happy to help you!

5 Answers -

0 votes

ænon1mus

February 2, 2010

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

0 votes

Jerry

February 2, 2010

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.

0 votes

Jack Cola

February 3, 2010

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

0 votes

Chris Davies

June 30, 2010

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

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)

July 23, 2010
0 votes

Wikrband

March 8, 2012

faniy