Hi guys
I've just installed FC5 and I'm want to host a few sites on it. I've read up on Virtual Hosts, and it seams OK and not too complex. So I gave it a stab and made all the settings to the httpd config file. At the end of the file I added the following
Code:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName bob.office.com
ServerAdmin bob@office.com
DocumentRoot /home/tom/public_html
ErrorLog /home/tom/logs/bob.office.com
</VirtualHost>
I have a DNS server in the building which has a record for bob.office.com to resolve to 192.168.0.145 (the internal address for my Fedora Server)
However now that I have created my Virtual Hosts I get 403 errors every time I visit bob.office.com.
HTML Code:
<h1>Forbidden</h1>
<p>You don't have permission to access /
on this server.</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.2.0 (Fedora) Server at bob.office.com Port 80</address>
Can anyone point me in the right direction??? I created the folder /home/tom/public_html as user tom and tried as root also but still 403 errors.
Thanks in advance guys.
Recent comments
10 hours 26 min ago
19 hours 54 min ago
20 hours 44 min ago
1 day 17 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 17 hours ago
1 day 22 hours ago
1 day 23 hours ago