Setting up multiple domains - CentOS 5.2 Apache

I am trying to setup an additional domain on my account.

I am using CentOS 5.2 and running apache.

I edited httpd_vhosts.conf

DocumentRoot /home/myuser/public_html

ServerName mysite.com

ServerAlias *.mysite.com

ErrorLog /var/log/httpd/myuser/error_log

CustomLog /var/log/httpd/myuser/access_log common

What do I have to do to the hosts.conf file to get this domain name up and running?

Thanks.

1 Reply

Nevermind. I figured it out. I didn't add a domain space for the domain.

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