how to add subdomian


I am looking for instructions on how to add a subdomain. This is what I did so far but it's not working so I must be missing something.

I made an entry in my httpd.conf file like this:

DocumentRoot /var/www/subdomain


I added an A record to linode's dns manager for pointing to my IP address.

Is this the correct way?



1 Reply

Did you restart apache after making the change?

Is the problem that the name is not resolving (which is a DNS issue) or that

apache isn't reacting properly?


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct