So I was following this tutorial to the letter and when I enter my domain name in the browser I get my page. https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-7 Except the fact that the browser never masks the domain to www.example.com, instead it changes the domain I just entered and shows me the subfolder preceeded by the ip address, example: 211.232.01.23/website/wordpress/index.phpAlready done:Installed apache via httpdCreated sites-enabled and sites-available folders in /etc/httpdCreated .conf file in sites-available with symbolic linkSet up permissions to my directories using apache:apache userAdded IncludeOptional sites-enabled/*.conf string to the end of httpd.conf file.I have not touched the htaccess file as the tutorial doesn't specify anything about it. My example.com.conf file:<VirtualHost *:80>ServerName www.example.comServerAlias example.comDocumentRoot /var/www/example.com/public_htmlErrorLog /var/www/example.com/error.logCustomLog /var/www/example.com/requests.log combined</VirtualHost>
Apache httpd on centos doesnt mask ip to domain
linux;centos;apache httpd;wordpress