apache_vhost_centos
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apache_vhost_centos [2015/12/14 11:29] – luke7858 | apache_vhost_centos [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 10: | Line 10: | ||
<sxh bash> | <sxh bash> | ||
< | < | ||
- | ServerName | + | ServerName |
- | ServerAlias www.e.com | + | ServerAlias www.example.com |
- | DocumentRoot / | + | DocumentRoot / |
- | < | + | < |
Options Indexes FollowSymLinks | Options Indexes FollowSymLinks | ||
AllowOverride None | AllowOverride None | ||
Line 26: | Line 26: | ||
</ | </ | ||
\\ | \\ | ||
+ | Globally change website from example.com to your required domain: | ||
+ | <sxh bash> | ||
+ | : | ||
+ | </ | ||
=== Reloading Apache Configuration === | === Reloading Apache Configuration === | ||
Once the vhost has been created you will need to reload apache for the configuration to take effect\\ | Once the vhost has been created you will need to reload apache for the configuration to take effect\\ |
apache_vhost_centos.1450092590.txt.gz · Last modified: 2024/05/23 07:26 (external edit)