Local webstaging on different port

Wimy

Registered
I have given up the search and hope to find some support here.

I am currently happy testing/developing sites locally on OS 10.4.7. I have configured Apache's Virtual Hosts to respond to various domain names assigned to different local websites. (www.mysite1.dev, www.mysite2.dev, etc) Also running is a Content Management System, using mysql & apache.

I access the web through our wireless network (airport Xpress) but to test my local sites I have to turn this off. Obviously both are using Port 80, right?

Well, what to do next? How do you point the local sites to a different port, without compromising your security? (I have tried changing port 80 to 8888 but never get it working as I honestly don't have information to go by.)

Do I need to temper with Airport Xpress port mapping, for example?

Hope anyone can help me out.

Thanks,

Wim
 
I have about ten sites running on this PowerBook at any given point, each a parallel httpd process with its own port. This is a basic Apache virtual host set up, with each vhost responding to a different port.

For instance, I have one httpd instance listening on 9022. To access this from the PB, I can use

http://localhost:9022/

To access this from another machine on this network, I can use

http://33.33.33.33:9022/

(Or whatever my IP address is.)

This sounds basically like what you have tried; what was your problem with this configuration?
 
Back
Top