Subdomain URL


#1

Hello everyone. :slight_smile:

I’m having some issues with the URL of my subdomain. Now, I know the normal way is to have it http://www.subdomain.website.com/, but the way I want it to be is http://www.website.com/subdomain/. I’ve seen a few dreamhost hosted websites like this. However, I can’t quite seem to figure it out so any help would be appreciated.

Thanks in advance!


#2

When you create the Fully Hosted Subdomain, you could reset the directory for the hosted files to be /home/YOU/domain.com/subdomain

I’ve not tried this, so I don’t know if it’d let you get away with this.

Another possible option would be to Remap a directory, but I haven’t tried this either.
http://wiki.dreamhost.com/KB_/Account_Control_Panel/Domains::_Remap_Sub-Dir

-Scott


#3

What you’re talking about is a subdirectory, not a subdomain. You don’t need to set up a separate subdomain to have a directory path; just create the directory within the main directory of the domain (using shell, FTP, or whatever), and put HTML files in it just like in the main directory.

– Dan