notlistening
November 20th, 2008, 04:29 AM
Hi Guys,
I have two problems at the moment with the way that my web server/network is configured.
Currently i have a Wifi router that is configured to display it configuration page through its internal web server on port 80. This is great until I try to view my website in my network and I get the login page for my router. This happens when i use the external public ip address.
Hold on you say use the internal address I can do that but have two websites on the same machine and can only access the one website when i am using the internal IP address the other website is the second. How can i configure apache / my network to allow me to see both website when connecting inside my network?
One solution i have found to work is using an external proxy server to route my traffic out and then back into my network again but i can not find a reliable one, if anyone knows of any I would appreciate that as it is a easy solution.
----
Secondly I have two address configured in apache as virtyal hosts the first is http://mywebsite.com which works as http://www.mywebsite.com and a second http://website2.info when i use the www. infront it directs me to the correct website but if i miss the www off the front of website 2 so like http://website2.info it direct me to http://mywebsite.com I am sure it is a configuration on apache but not sure how to modify it.
Thanks in advance
Tom
I have two problems at the moment with the way that my web server/network is configured.
Currently i have a Wifi router that is configured to display it configuration page through its internal web server on port 80. This is great until I try to view my website in my network and I get the login page for my router. This happens when i use the external public ip address.
Hold on you say use the internal address I can do that but have two websites on the same machine and can only access the one website when i am using the internal IP address the other website is the second. How can i configure apache / my network to allow me to see both website when connecting inside my network?
One solution i have found to work is using an external proxy server to route my traffic out and then back into my network again but i can not find a reliable one, if anyone knows of any I would appreciate that as it is a easy solution.
----
Secondly I have two address configured in apache as virtyal hosts the first is http://mywebsite.com which works as http://www.mywebsite.com and a second http://website2.info when i use the www. infront it directs me to the correct website but if i miss the www off the front of website 2 so like http://website2.info it direct me to http://mywebsite.com I am sure it is a configuration on apache but not sure how to modify it.
Thanks in advance
Tom