User Tools

Site Tools


apache_vhost_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
apache_vhost_ubuntu [2015/03/28 10:51] – created luke7858apache_vhost_ubuntu [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 7: Line 7:
 __For example:__\\ __For example:__\\
 **/etc/apache2/sites-available/example.com.conf** **/etc/apache2/sites-available/example.com.conf**
- +\\ 
 +\\
 ===== Example vhost for apache ===== ===== Example vhost for apache =====
 <sxh bash> <sxh bash>
Line 29: Line 29:
 </VirtualHost> </VirtualHost>
 </sxh> </sxh>
 +\\ 
 +\\ 
 +=== Reloading Apache Configuration ===
  
 Once the vhost has been created you will need to enable the vhost using a sym-link and then reload apache for the configuration to take effect:\\ Once the vhost has been created you will need to enable the vhost using a sym-link and then reload apache for the configuration to take effect:\\
 <sxh bash>sudo a2ensite example.com.conf</sxh> <sxh bash>sudo a2ensite example.com.conf</sxh>
 <sxh bash>service httpd reload</sxh> <sxh bash>service httpd reload</sxh>
apache_vhost_ubuntu.1427539882.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki