Webmin + Virtual Servers/Subdomains

yea that makes sense, .... so wait how would I do it if my ISP provided 2 ips?? my main line comes in and goes to my router, my router then distributes internal ips... 1 being to the server....then I forwarded all the ports i need to that ip...

would i need to connect the main line directly to the server??
 
So from your last comment, I take it you're sitting behind a home router/NAT device? (That changes things, and it explains why you needed to use a wildcard for namevirtualhosts on port 80.)

I'm not sure what to suggest. NAT screws things up, because by the time your host gets the requests, it thinks they're all coming from the internal IP of your router/NAT device. Maybe two different Apache instances, one listening on port 80 and the other listening on port 443..?

---

edit: Nevermind. Two Apache instances won't solve your problem, because all hostnames will still resolve to your.ip.here, so you'll get the same content for each hostname over https.
 
Yes, Im behind a Router, a DIR-655, yes I have Listen *:443 and Listen *:80 in my httpd.conf, I don't believe I have NAT enabled....and come to think of it... I don't think I've even seen NAT settings in this router... My old router had NAT settings I believe
 
Back
Top