Apache 2.4: Virtual Host not working in CentOS 7/RHEL 7

Posted: August 31, 2016 in Javascript/CSS, Web Server

To create virtual host in Apache is very easy. In 2.4, it becomes easier because Apache will automatically process those and NameVirtualHost won’t have any effect.

I assume you have read this nice guide, https://httpd.apache.org/docs/2.4/vhosts/examples.html

If it’s still not working, set your SELinux permissive.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s