Forum archive
[LAMP] VirtualHost Name-Based
Hi there!
I've started Turnkey Lamp version, config everything.
I go in Webmin.
Then I've created 2 different "no-ip.org" address (example1.no-ip.org and example2.no-ip.org) linked to the same IP address (my router external IP, obviously).
Then I've setted in my Port Forwarding router panel the permission to access from the external to my Turnkey PC (192.168.1.75) with the port 80.
So, in Webmin, accessing to Apache Control Panel, I've created 2 different Name-based virtualhost.
When I tried them, I have always the "Turnkey LAMP Home Page" (the one with the 3 options clickables), with the example1 and with the example2.
Why Apache couldn't read the hostname request?
Thanks
I set up a name based secondary domain on one of my systems a while back. It was working. However last week I tested again and it was only resolving to the first domain.
So I am at the same place you are. It could have been a change in the package, or something overwritten by TKLBAM but it appears in my Apache that the second host is still there. It is just that Apache always responds as the first host when I try to go there.