I'm trying to host 2 different sites on 2 different ports: 80 and 8080. I have currently set this up:
listen 80 listen 8080 NameVirtualHost *:80 NameVirtualHost *:8080
<VirtualHost *:80> ServerName my.site ...
<VirtualHost *:8080> ServerName a.my.site ...
Portscan tells me port 80 an 8080 are open and both have an http service.
http://my.site works and I get the desired site, but when I'm trying to connect to
http://my.site:8080. I get
This site can't be reached. my.site refused to connect
What did I do wrong?
Now I tried
http://a.my.site and it didn't work. Nor did