Change Ports does not work with External IP
Posted by: aruneashwar (---.us)
Date: January 08, 2007 06:13PM

I have both IIS and Wamp running on my server. The server currently has 4 IPs and there are 3 webistes hosted under IIS for each of the three IPs. I am trying to host a website through Apache on the fourth IP. I have made changes to the Port number in the httpd.conf file and changed to localhost:81in wampserver.ini file. In the httpd.conf I have set the listen as 192.168.1.124:81. When I type this address in the browser it works. However if I change the 192.168.1.124 to an external ip like 12.x.x.x in the httpd.conf file, it does not load in the browser. Basically it works if the IP address is to the internal IP but does not work if it is set to an external IP. Do i need to make some changes to the Virtualhost field? Or is there some kind of port forwarding that needs to be done?

Someone please help.


Re: Change Ports does not work with External IP
Posted by: yfastud (72.236.169.---)
Date: January 08, 2007 07:50PM

You're right about these
Quote


Do i need to make some changes to the Virtualhost field? Or is there some kind of port forwarding that needs to be done?
But not this
Quote


if I change the 192.168.1.124 to an external ip like 12.x.x.x in the httpd.conf file
One thing to keep in mind that you might run into problem later because they're both web server and might conflict in some ways.

Have fun

[www.jlbn.com] (testing web server)
[test.jlbn.com] (testing codes)
[forum.jlbn.com] (testing phpBB2)
[forums.jlbn.com] (testing phpBB3)
[mail.jlbn.com] (testing mailserver)
[ftp.jlbn.com] (testing ftp server)
[www.jlbn.com] (testing flashes)
[www.jlbn.com] (testing images)
[joomla.jlbn.com] (testing Joomla 1.0.10)
[fusion.jlbn.com] (testing phpFusion 6.01.6)
[nuke.jlbn.com] (testing phpNuke 7.9)
[nukep.jlbn.com] (testing phpNuke Platinum 7.6.b.4v2)
[pnuke.jlbn.com] (testing PostNuke 0.800-MS2)
[nukevo.jlbn.com] (testing phpNuke Evolution 2.0.1)

Re: Change Ports does not work with External IP
Posted by: aruneashwar (---.us)
Date: January 08, 2007 08:41PM

Thanks.

Now How do I configure my virtualHost information so that my external IP is able to load the website? Currently I have left my virtualhost fields blank. If someone can give me the settings for this it would be of great help.

Re: Change Ports does not work with External IP
Posted by: yfastud (72.236.169.---)
Date: January 09, 2007 03:17PM

Here is the simplest setup, should configure more to meet your need

NameVirtualHost *:81

<VirtualHost *:81>
ServerName www.your_domain.com
ServerAlias your_domain.com
DocumentRoot c:/wamp/www/your_domain
</VirtualHost>

Have fun

[www.jlbn.com] (testing web server)
[test.jlbn.com] (testing codes)
[forum.jlbn.com] (testing phpBB2)
[forums.jlbn.com] (testing phpBB3)
[mail.jlbn.com] (testing mailserver)
[ftp.jlbn.com] (testing ftp server)
[www.jlbn.com] (testing flashes)
[www.jlbn.com] (testing images)
[joomla.jlbn.com] (testing Joomla 1.0.10)
[fusion.jlbn.com] (testing phpFusion 6.01.6)
[nuke.jlbn.com] (testing phpNuke 7.9)
[nukep.jlbn.com] (testing phpNuke Platinum 7.6.b.4v2)
[pnuke.jlbn.com] (testing PostNuke 0.800-MS2)
[nukevo.jlbn.com] (testing phpNuke Evolution 2.0.1)

Sorry, only registered users may post in this forum.