I have my domain [] registered under GoDaddy. I recently had to leave my old host because they were closing down. So I transfered over to DreamHost. The transfer was good, I pointed the DNS servers to the ones in DH and added the domain to the CP.

So, the page works fine. connects to the server and so on and so on [I just need to move the files to the new server].

My main question is, why can’t I set up a Subdomain? The main reason I need at this moment is because I want to let a new user get his own subdomain and server space so he can start learning HTML basics, basically I want to train him, but I don’t want him accessing my main files. So a subdomain would be perfect.

I already read the wiki, searched around here, and found nothing that really helped me.

Main Question:

Can someone explain (in as much detail possible) how to make a subdomain work (ex, with it’s own space, FTP, and user). I made one work, but the URL only worked as “” I don’t need that extra “www” there o_O

I need it to show under my root directory maybe like [] and the user having access only to that folder.

Thank you

-crismy :smiley:

You said that you created a subdomain and it only worked as What do you mean by “it only worked”? Does the site not come up if you enter “”?

When you add a fully hosted domain in the control panel, you’re giving the following choice:

[code]How do you like the www in your URL?

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options

I think you need wildcard DNS.

$97 off using [color=#CC0000]LuckyYou[/color] promo code :cool: . Sign Up NOW

Wildcard DNS is not required. The sub-domain should be reachable with and without the www. In my experience, it is not unusual for one or the other not to work correctly until the new DNS information has propagated fully.

My advice is to simply wait a while and things should start working as expected.


Web Hosting Reviews | DreamHost Promo Code

did you set up a new ftp user and choose that user when you set up the subdomain? if not, you can still set up a user and move the subdomain to that user (this will allow you to give that user access to the subdomain without letting them access your files).

track7 - my dream-hosted site

Yea, that’s the main issue [besides connecting the subdomain to a user] I type “” and nothing loads Firefox just says “Server not Found” but if I type “” it loads an empty directory [which is something at least] but I upload files to every folder in my root, the subdomain folder, etc and nothing shows up anywhere. Like, there’s no folder to upload files…

-crimsy :slight_smile:

And yeah, I set up a new user for the account, seems they connect, but the subdomain won’t work nor there’s a folder to upload things…

If you created a new user to control the sub-domain, then the web-directory for the sub-domain will be in that user’s home directory, not your primary user’s home directory. You will need to log-in using the user that controls the sub-domain to see this directory, by default this directory will have the same name as the sub-domain.

As for not being able to browse the sub-domain without the www; I believe you will find this is temporary and will ‘fix itself’ given some time. It might help to clear your browsers cache and restart the browser, just in case there is some caching issue happening.


Web Hosting Reviews | DreamHost Promo Code

A couple of quick questions:

  1. When did you switch over from GoDaddy?
  2. When did you add the subdomain?

Oh, and when you say “it loads an empty directory”, do you mean you get an empty “directory view” with “Index of /” at the top and an empty table of files below?

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options

It is worth noting that, under the DreamHost system, sub-domains are not implemented as sub-directories inside the web-directory of the parent domain. Instead, they have their own directory in your home directory, just like the parent domain.


Web Hosting Reviews | DreamHost Promo Code

Hey, wait a sec…

Crimsy, how did you set up the “FTP user / CGI-runs-as user:” in for this domain (in the control panel)? You created a new ID for htmlnewbie, right?

Anyway, if so, you might want to make sure you’re uploading to the right directory - it should be /home/htmlnewbie/ Note that the root for the subdomain is under the (new) home directory of the new user you just created.

Apologies in advance if this isn’t the case, but I recall making this mistake before.

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options

On both replies for the directories, okay… that’s fine as long as I have access from my main account.

Okay, seems to be working as it should be “” with the settings changed :smiley:

Now,how do I access the root directory on my FTP? So I can see both’s folder and the subdomain folders…

Sorry to be a pain, but this new CP and server is a bit different from previous experiences

~crimsy :smiley:

Cool. Glad that worked out for you!

On the subject of accessing htmlnewbie’s directories and files from your account, is it acceptable to do this via sftp or shell access? My understanding is that getting ftp access to the other user’s files will be problematic - but that doesn’t mean someone else knows a trick that I don’t. :slight_smile:

Free unique IP and $67 off with promo code [color=#CC0000]FLENSFREEIP67[/color] or use [color=#CC0000]FLENS97[/color] for $97 off. Click here for more options

the only trick I know is to use the webftp links on the panel…
thats the fastest way
the other is to creat a symbolic link, and use a SFTP/SSH program, like winscp, or filezilla (for win) or a simple shell (for *nix)

BUGabundo :o)
promo here
50$ discount with promo code “BUG50” on ALL plans
Free lifetime Domain with “BUGDOMAIN” promo code