specifying port for site

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

specifying port for site

Post by bugthefixer »

I have just heard about this that i can specify port for my site but i dont know how to do it as the default port for http is 8080 but i want to reserve any other port for my site. how can i do that.
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

you mean you want to change the port ? ie http://yourehost:120 ?

edit that in youre httpd.conf.
bugthefixer
Forum Contributor
Posts: 118
Joined: Mon Mar 22, 2004 2:35 am

Post by bugthefixer »

well actually my server is hosting other sites as well so httpd.conf will change other sites ports as well. but i want to specify port only for my site.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

You you set it on the virtual host you want to use it on then.
Post Reply