Koozali.org: home of the SME Server

Subdomains in their own I-Bays

Chris G.

Subdomains in their own I-Bays
« on: January 18, 2004, 08:52:25 AM »
I have a subdomain - foo.mydomain.com - that I want to point to its own i-bay.

I have read Boris Mann's article on this and understand that it is really just a question of setting up the subdomain as a virtual domain and pointing that virtual domain to the appropriate i-bay.

This is great, but the problem I have is that this creates the entry as  'www.foo.mydomain.com' when in reality it should only be necessary for a visitor to type in 'http://foo.mydomain.com' to visit my subdomain. Is there any way to bypass the 'www' that SME 6.03b puts in front of my subdomain?

Thanks,

Chris G.

[%sig%]

Michiel

Re: Subdomains in their own I-Bays
« Reply #1 on: January 18, 2004, 01:45:51 PM »
It already does (unless ofcourse I'm misunderstanding your question). If omitted, the "www" is assumed. So if http://www.foo.mydomian.com points to the right ibay, then http://foo.mydomain.com will also get you there. As you said, it's just a matter of creating a virtual domain and pointing it to the appropriate i-bay.

Michiel

Chris G.

Re: Subdomains in their own I-Bays
« Reply #2 on: January 18, 2004, 06:47:46 PM »
I'll give it another try, but the http://foo.mydomain.com is not resolving but the http://www.foo.mydomain.com that I set up in DynDNS is. It wouldn't be an issue but this is an existing website where a ton of users are used to NOT using the 'www'.

Thanks for your help!

Chris G.

Ron

Re: Subdomains in their own I-Bays
« Reply #3 on: January 19, 2004, 06:52:59 AM »
Chris G. wrote:

> I'll give it another try, but the http://foo.mydomain.com is
> not resolving but the http://www.foo.mydomain.com that I set up
> in DynDNS is. It wouldn't be an issue but this is an existing
> website where a ton of users are used to NOT using the 'www'.
>
> Thanks for your help!
>
> Chris G.
If this is at Dyndns.org I  think you have to add "foo.mydomain.com "using your
"ADD Host form "and point it at your ip address.

I use EASYDNS.com and that is how it works there.

Hope that helps

[%sig%]

Ron

Re: Subdomains in their own I-Bays
« Reply #4 on: January 19, 2004, 07:20:28 AM »
Hmm I may have steered you wrong here.
It is actually an alias setting that points you to your domain at least that is what is avaiable at Easydns.
Like "foo.mydomain.com " points to" www.foo.mydomain.com " an the ALIAS panel.

Ron wrote:

>> If this is at Dyndns.org I  think you have to add
> "foo.mydomain.com "using your
> "ADD Host form "and point it at your ip address.
>
> I use EASYDNS.com and that is how it works there.
>
> Hope that helps
>

[%sig%]

Chris G.

Re: Subdomains in their own I-Bays
« Reply #5 on: January 19, 2004, 08:07:07 AM »
I actually solved this problem by DELETING the alias www.foo.mydomain.com from DynDNS - re-adding it as foo.mydomain.com and - for whatever reason - the SME box handles the rest like a charm. Thanks to Ron and Michiel for your posts and help!

Chris G.

pistonpilot

Re: Subdomains in their own I-Bays
« Reply #6 on: January 20, 2004, 09:39:28 AM »
Quote from: "Chris G."
I have a subdomain - foo.mydomain.com - that I want to point to its own i-bay.

I have read Boris Mann's article on this and understand that it is really just a question of setting up the subdomain as a virtual domain and pointing that virtual domain to the appropriate i-bay.

This is great, but the problem I have is that this creates the entry as  'www.foo.mydomain.com' when in reality it should only be necessary for a visitor to type in 'http://foo.mydomain.com' to visit my subdomain. Is there any way to bypass the 'www' that SME 6.03b puts in front of my subdomain?

Thanks,

Chris G.

[%sig%]


Can you point me to the URL for this Boris Mann article?

ChrisG

Subdomains in their own I-Bays
« Reply #7 on: January 21, 2004, 10:46:21 PM »

bmann

Glad to see my article is useful
« Reply #8 on: January 22, 2004, 01:24:19 AM »
The domain you add in SME should be the full subdomain (i.e. foo.example.com). SME will automatically create a bunch of default hosts, like www.foo.example.com, ftp.example.com, etc.

With DynDNS or EasyDNS, you need to add a record for "foo.example.com". In my case, I create an alias record to the main host/domain -- i.e. "example.com". This way I only have to update the IP address for that one host, and any subdomains (since they are all alias records) automatically get updated as well.

Whew...I hope that helps clarify. DNS issues can get tricky to diagnose.

(I'm back on this forum and will be monitoring for questions regarding my e-smith How-To's )