ports help needed
Posted by: rysliv (---.hsd1.wa.comcast.net)
Date: June 15, 2008 09:56PM

heya i bet people posted lots about this one but i only got one static ip address thats like each computer you have is the same pulic ip address but if you forward two ports of 80 and the other one then you cant get to the other host can you well i cannot seem to fugure out how to change 80 to 81 cause ide like to host this guys website heh can yuo guys help me or something

like how to change the port 80 to 81 so i can like go 77.87.45.33:81 and it goes there is that possible? at all? im also useing the most stable version of wampserver its version 1.7.3

Options: ReplyQuote
Re: ports help needed
Posted by: rysliv (---.hsd1.wa.comcast.net)
Date: June 15, 2008 09:58PM

btw guys um if i get the 2.0 verwsion or higher of wamp then i cant get into the phpmyadmin part that i need also

so yeah

Options: ReplyQuote
Re: ports help needed
Posted by: toivo (---.nsw.bigpond.net.au)
Date: June 15, 2008 11:21PM

Hi,

If you have one static IP address and two domains, you should just set up one virtual name based host for each.

Do a search on this forum for phpMyAdmin and click the line that says click it, to see the results.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: ports help needed
Posted by: stevenmartin99 (---.34-85-b.business.telecomitalia.it)
Date: June 16, 2008 08:12AM

In your httpd.conf file set apache to listen to more then one more port

so change

Listen 80

to


Listen 80
Listen 81

also change


#Include conf/extra/httpd-vhosts.conf

to

Include conf/extra/httpd-vhosts.conf
-----------------------------------------------------

open
C:\wamp\bin\apache\apache2.2.8\conf\extra

in the httpd-vhosts file put this


NameVirtualHost *:80
NameVirtualHost *:81
NameVirtualHost *:82


<VirtualHost *:80 >
DocumentRoot C:/wamp/www/
</VirtualHost>

<VirtualHost *:81 >
DocumentRoot C:/wamp/www/website2
</VirtualHost>

---------------------------------------------
set the document roots to what you like.

in your router ul need to foward the ports if port 80 is blocked..

follow my manual here..>>> [pampserver.com]

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 06/16/2008 08:13AM by stevenmartin99.

Options: ReplyQuote
Re: ports help needed
Posted by: rysliv (---.hsd1.wa.comcast.net)
Date: June 16, 2008 08:42AM

but this is for multiple servers like i know thats cool to have multiple websites now thx man but the only problem is that... wut if i want it on more systems like do i do this?...


Listen 83




Listen 83

-----------------------------------------------------


NameVirtualHost *:83



<VirtualHost *:83 >
DocumentRoot C:/wamp/www/
</VirtualHost>



and then i can add more to it if i need another website is that possible or? what pls tell me if it is...

Options: ReplyQuote
Re: ports help needed
Posted by: stevenmartin99 (---.34-85-b.business.telecomitalia.it)
Date: June 16, 2008 08:53AM

yes just add more if you want... u can also use name based viutal hosts... search for it in forum

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: ports help needed
Posted by: rysliv (---.hsd1.wa.comcast.net)
Date: June 16, 2008 09:08AM

steven! it wont work for some reason

Options: ReplyQuote
Re: ports help needed
Posted by: rysliv (---.hsd1.wa.comcast.net)
Date: June 16, 2008 09:08AM

i checked all the configs its all wut you put in there and it dosent work

Options: ReplyQuote
Re: ports help needed
Posted by: stevenmartin99 (---.34-85-b.business.telecomitalia.it)
Date: June 16, 2008 09:12AM

did u make sure the vhosts file is not # out in the httpd.conf?

and did u set up the router? like iin the manaual



ul need to forward port 80 to port 80 in the router
ul need to forward port 81 to port 81 in the router


like this


name port80forward
type tcp
external port 80
internal port 80
ip 192.168.x.xx (internal ip of pc)


and

name port81forward
type tcp
external port 81
internal port 81
ip 192.168.x.xx (internal ip of pc)

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: ports help needed
Posted by: yfastud (Moderator)
Date: June 16, 2008 03:12PM


Options: ReplyQuote
Re: ports help needed
Posted by: rysliv (---.hsd1.wa.comcast.net)
Date: June 17, 2008 04:27AM

yup i checked it all do i need to restart wamp to refresh the configs or im gona do it anywayz...

Options: ReplyQuote
Re: ports help needed
Posted by: rysliv (---.hsd1.wa.comcast.net)
Date: June 17, 2008 04:29AM

it worked lawls i forgot to restart the wamp server thatz all thx GUYZ FOR THE HELP!!!!!! OMG THX

Options: ReplyQuote


Sorry, only registered users may post in this forum.