I have a server with IP 1.2.3.4 and I want the domain www.something.com to load website from /var/www/html/something/
I've tried to configure them as follows:
NameVirtualHost 1.2.3.4:80
<VirtualHost 1.2.3.4:80>
ServerName www.something.com
ServerAdmin emai@email.com
DocumentRoot /var/www/html/something/
ErrorLog logs/something-error_log
CustomLog logs/something-access_log common
</VirtualHost>
I've reloaded apache, but when accesing the domain, it only shows the root of the server /var/www/html/
Any idea what is wrong?