Hi i've tried to configure a vhost on my server but it's not working.
when trying to access it goes default...
this is my basic config.
On my server:
/var/www/html/blentico.com/public_html/index.php (and Wordpress packages)
/etc/apache2/sites-available/blentico.com.conf
this is the content of blentico.com.conf
<VirtualHost *:80> ServerAdmin [email protected] ServerName blentico.com Serveralias www.blentico.com DocumentRoot /var/www/html/blentico.com/public_html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> then i run the command:
a2ensite blentico.com.conf
all my files/directories inside /var/www have user/group root and 755 permission
ok, so, i suppose that this is OK according to all the docs i've read but when i try to access to www.blentico.com it goes directly to my index.php file located in /var/www/html/index.php and no to /var/www/html/blentico.com/public_html as i've indicated on my blentico.com.conf file.
hope you can help me.