hello everyone, i really need help with this problem i can't manage to solve.
i am trying to get "name based virtual host" to work, but i cant find a answer anywhere on the mighty web.
first i tried apache, but some google results pointed out that apache 2.4 does not have that support anymore (i found that after a few hours of trial and error )
now i tried nginx, but that doesn't work either.
what i am attempting to get:
queztech.net and peppertown.nl both have a A record to the same IP, but i set it up in /etc/nginx/sites-avaiable/default to have a different document root for each, but somehow i ALWAYS end up with the queztech.net document root.
this is currently my /etc/nginx/sites-available/default content:
listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6
WEBUZO - Single User Control Panel for your VPS/Cloud/Server (CentOS/Ubuntu)
Install NGINX, Apache, MySQL, LAMP, LEMP, PHP, Java and 310+ popular scripts by a CLICK
Email Server, Database Management, Domain Management, FTP Management, CSF, CRON