I want to serve a specific documentroot on port 8000
I tried creating a .conf file in /etc/httpd/conf.d:
Listen 8000 <VirtualHost *:8000> DocumentRoot "/newwebroot" </VirtualHost>
On nginx this is relatively simple, you just define a server block for the port and webroot, on Apache nothing I tried seems to be working.
I can see httpd listening on port 8000, so that is working, it just shows the main test page from /var/www/html/
Please note, it is supposed to be working using the server IP, not a domain, hence leaving out the ServerName directive.
CentOS / Apache 2.4