Forum Moderators: phranque

Message Too Old, No Replies

Setting up a seperate port for the website

         

kewlfreak

2:11 am on Mar 4, 2005 (gmt 0)

10+ Year Member



Hi everybody,

I have a website xyz.com running in apache server on linux and it is active.

I want to set up on another port number say www.xyz.com:7000 on which i will work on the website and test it out. I am running python and psp scripts in the website.

I have no idea abt how to go abt it. Please me to figure it out. Thanks in advance.

bye, pk

coopster

2:28 am on Mar 4, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, kewlfreak.

It all depends on which port you would like to Listen [httpd.apache.org] ;)

kewlfreak

3:57 am on Mar 4, 2005 (gmt 0)

10+ Year Member



i dont need any particular port u can say 8000. but the main thing is i need to set it up so that i work on the codes without disturbing which are active.

sorry if my answer is little general

pk

coopster

2:36 pm on Mar 4, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I believe you are talking about a "test" or "development" environment where you can adjust your code before moving into the "live" or "production" site.

I think that Apache's Virtual Hosts [httpd.apache.org] may be a bit more inviting to you. I'll often subdomain the site and put that Virtual Host container above the live one in my httpd.conf and make it accessible only from an internal ip address. Works well for testing code.

kewlfreak

3:57 pm on Mar 4, 2005 (gmt 0)

10+ Year Member



hi cooper,

virtual hosts are exactly what i needed i guess, thanks a lot for the suggestion.

pk