Show Posts

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.


Messages - xHalloweenx

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
Code: [Select]
NameVirtualHost *:80 -> resolves apache default host to an adaptive address
Comment out
Code: [Select]
#DocumentRoot "/usr/local/apache/htdocs" -> Skips apache default htdocs and default to Virtual Host instance

Apache virtual host template
Replace VirtualHost instance ip with *
Code: [Select]
<VirtualHost *:%domain_port%> -> resolves to common address

Rebuild VirtualHost -> Restart apache [httpd]


Pages: [1]