how to add subdomian

Hi,

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

ServerName subdomain.example.com

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

Is this the correct way?

thanks

Andrew

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?

Reply

Please enter an answer
Tips:

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] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct