Creating Virtual Hosts for the Apache Web Server
- Create the domain folders. By default, your files are stored in “/var/www/html” on your host. ...
- Create your first HTML page. ...
- Creating a virtual host file on CentOS 8. ...
- Update your SELinux firewall rules. ...
- Restart your Apache server.