Koozali.org: home of the SME Server

Hostnames and Addresses

Gordon

Hostnames and Addresses
« on: October 23, 2002, 02:04:30 PM »
Hi
Have a system that needs to look at their web page externally. So I added what I thought was the websites IP to the www entry. The web site fails to be resolved and I suspect the hosting service may now be virtual but since doing the entry the browsers look for www.www.domainname.com. Has anyone seen this before?

Is there a way to redirect to a virtual hosting service?

TIA

Gordon

Bill Talcott

Re: Hostnames and Addresses
« Reply #1 on: October 23, 2002, 05:53:35 PM »
With some browser settings, the browser itself will add common things like "www." and ".com" to the typed URL if it fails. That could be what's happening...

Do a traceroute from one of the LAN PCs to the hostname and see what IP it resolves to. That should tell you if the SME is working properly. Does entering the IP in the browser work?

Gordon

Re: Hostnames and Addresses
« Reply #2 on: October 24, 2002, 03:22:21 AM »
Hi Bill

Thanks for the reply.

The problem is only in seeing their own domain, hosted externally. All other browsing is fine. In the past I have modified the www entry to the external IP but now that IP fails from everywhere to a page instructing that the format is wrong and to add www. I believe this is coming from the hosting service, whom I believe has gone to virtual hosting. That is the external side of the problem.

Internally since touching the www entry a Win XP Pro client keeps on failing but adding automatically the extra www. Is this a Win XP thing, or a reaction to the remote web page instruction or caused by the modification of the hostname panel?

TIA

Gordon

Bill Talcott

Re: Hostnames and Addresses
« Reply #3 on: October 24, 2002, 06:47:19 PM »
> The problem is only in seeing their own domain, hosted
> externally. All other browsing is fine. In the past I have
> modified the www entry to the external IP but now that IP
> fails from everywhere to a page instructing that the format
> is wrong and to add www. I believe this is coming from the
> hosting service, whom I believe has gone to virtual hosting.
> That is the external side of the problem.

The SME just redirects www.domain.com to the specified IP instead of itself. So if the IP doesn't work, changing the www entry on the SME won't work. Unfortunately, I think it's as simple as that.

> Internally since touching the www entry a Win XP Pro client
> keeps on failing but adding automatically the extra www. Is
> this a Win XP thing, or a reaction to the remote web page
> instruction or caused by the modification of the hostname
> panel?

Bill Talcott wrote:
>
> With some browser settings, the browser itself will add
> common things like "www." and ".com" to the typed URL if it
> fails. That could be what's happening...

It can't really "react" to the webpage. There could be a script on the page that sends it to a different URL, but that would affect everyone, not just one PC. The hostname panel just affects what IP you're sent to when you type in that URL. It doesn't affect the URL in your browser at all. So I'd say it's just the browser adding it in an attempt to find "what you meant" since "what you typed" didn't work.

Gordon

Re: Hostnames and Addresses
« Reply #4 on: October 25, 2002, 02:04:33 AM »
Yes I agree. The web page does not appear to have any code attached.
So this will be a problem with any externally hosted Website done with virtual domain IP allocation?