This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Re: Default Page Displayed for all domains
« on: October 17, 2015, 03:39:10 PM »
/usr/local/apache/conf/httpd.conf
Add
Comment out
Apache virtual host template
Replace VirtualHost instance ip with *
Rebuild VirtualHost -> Restart apache [httpd]
Add
Code: [Select]
NameVirtualHost *:80
-> resolves apache default host to an adaptive addressComment out
Code: [Select]
#DocumentRoot "/usr/local/apache/htdocs"
-> Skips apache default htdocs and default to Virtual Host instanceApache virtual host template
Replace VirtualHost instance ip with *
Code: [Select]
<VirtualHost *:%domain_port%>
-> resolves to common addressRebuild VirtualHost -> Restart apache [httpd]
Pages: [1]