Having some trouble adding some vhosts.
I took over this server from someone just to do some web stuff for a company. they want me to add a couple more domain names and do the websites.
looking at his httpd.conf I can see where he has added all the other vhosts and they work, but yet a simple copy/paste and edit of the names doesn't seem to work for me.
when i goto website2 i get the generic "Great Success ! Apache is working on your cPanel® and WHM™ Server" message.
if I add the /index.html i get
Forbidden You don't have permission to access /index.html on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_bwlimited/1.4 PHP/5.2.9 Server at website2.com Port 80
here is the code he has that works.. i simply figured replaced website1 with website2 and restarting httpd should do the trick.. unfortunately it is not and I am so frustrated as to why.
Code:
<VirtualHost ipaddress:80>
ServerName website1.com
ServerAlias www.website1.com
DocumentRoot /home/website1/public_html
ServerAdmin webmaster@website1.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/website1.com combined
CustomLog /usr/local/apache/domlogs/website1.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
## User website1 # Needed for Cpanel::ApacheConf
<IfModule !mod_disable_suexec.c>
SuexecUserGroup website1 website1
</IfModule>
ScriptAlias /cgi-bin/ /home/website1/public_html/cgi-bin/
</VirtualHost>
Any help would be greatly appreciated as I am under time constraints to get this going for the client.
Thanks in advance!