Create Virtual Host using WHM [Web Hosting Manager]

Here are the steps to create the virtual host:

1. On WHM, click Apache Configuration under Service Configuration
2. Click on Include Editor
3. Under Pre Main Include, select from dropdown 2.0.63
4. At the bottom of the file text area, include this for the new site virtual host:

DocumentRoot “/usr/local/apache/htdocs/sitename/wwwroot” AllowOverride All allow from all Options +Indexes ServerName sitename.domain.com<http://sitename.domain.com/>

5. Click update to save.
6. Click HTTP Server (Apache) under Restart Services.
7. Click Yes.

Very Easy to follow step and Virtual host will be ready for your site….

This entry was posted in Apache, Categories. Bookmark the permalink.