Hello, I need a little help editing my httpd.conf in Apache.
This is what I need to add (it's an example, I need to change the domain name and directory):
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot /var/www/html
ServerName example.com
ServerAlias *.example.com
<Directory "/var/www/html">
AllowOverride All
</Directory>
</VirtualHost>
How do I edit this? What I have so far is:
I need to SSH into my main IP address (the IP where the WHM is) and type su root *rootpassword*
I tried that and this is what I got: -bash: /bin/su: Permisison denied
What am I doing wrong?
Thank you!


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks