Question on Sub-Domains


#1

I’m looking into DreamHost and I have a question on Subdomains. If I host www.maindomain.com, and have another registered domain that I have as a subdomain, will an entry of www.subdomain.com or will the user have to type www.maindomain.com/subdomain?


#2

On some of the plans you can host more than one domain. As far as subdomains, I’ve got one set up on DH- the url is like http://subdomainname.maindomain.com.

~Michelle


#3

I think it just depends on how you set things up: I believe you can either direct the second domain to a subdomain of your first domain (e.g. abc.com redirected to http://abc.xyz.com)*, or direct the second domain to a subdirectory of your first domain (e.g. abc.com redirected to http://www.xyz.com/abc).
Cheers,
Marsbar

*A subdomain will not work with the www prefix.


#4

You could set up a subdomain at domain1 and set your other domain to cloak subdomain.domain1.com so that it looks like the domain2 is fully hosted…

www.rawkstar.net


#5

That’s what I’m doing now, except my ISP has done all the set-up, so I’m not exactly sure what you mean by “cloak”. Is that the same as pointing? I tired looking under the web panel help, but didn’t see anything pertaining to it. Thanks.


#6

Cloaking is like making one domain look like another…

Say you had:-
http://domain1.com set up
and you wanted to host domain2.com at the site but you can only host one full domain.
So you setup:-

http://subdomain.domain1.com

and set domain2.com to ‘cloak’ subdomain.domain1.com

Now if you type in subdomain.domain1.com/dir/file.php
it would be the same as:-

domain2.com/dir/file.php

So basically you’re hosting 2 full domains at the expense of a subdomain…

I don’t know if that’s what you meant by your initial question…

www.rawkstar.net


#7

Thanks for bearing with me on this. I really don’t know what I’m doing…

I think I understand the concept. It’s the terminology and the application that’s not getting through this thick Norsk skull. I’m not subscribed to dreamhost yet, so the web control panel demo does not show me everything. Is this cloaking a feature of the panel?

And does the user simply type in www.subdomain.com to get to the cloaked site?


#8

The cloaking is the feature of the webpanel…

to view a subdomain (say you called the subdomain foo) you’d type:-

http://foo.yourdomain.com

It’s a sub part of yourdomain, not a seperate domain…

www.rawkstar.net


#9

Got it. Thanks for the clarification.


#10

For anybody unclear on the concept of what a subdomain is, I suggest reading this page in my site:

http://domains.dan.info/structure/subdomains.html

– Dan