Click to See Complete Forum and Search --> : Apache port number question
duckie
08-13-2001, 04:45 PM
Yep, it's me again. In case you didn't read my last problem, I can't access my server from port 80 any more due to my cable company shutting it down. So, my new question is, is there anyway I can set Apache so its default is port 8080? So far, I've tried setting..
Listen 8080
..and..
Port 8080
..and..
NameVirtualHost IP:8080
..and..
<VirtualHost host1:8080>
<VirtualHost host2:8080>
..in different combinations, but it doesn't automatically go to port 8080 when I use the regular address; to access the page, I have to use http://address:8080. Is there any way to get around that, and any way so it doesn't show up as 8080 in the address bar of my browser? My next problem would be (again, if you didn't read my last posts) that I'd like to register a domain soon (which'll be tough if my cable company doesn't want me to run a server..), and I don't really want it to have the :8080 attached at the end of it. If anyone could help, it would be much appreciated. Thanks!
goozey
08-13-2001, 05:09 PM
Is there any way to get around that, and any way so it doesn't show up as 8080 in the address bar of my browser? My next problem would be (again, if you didn't read my last posts) that I'd like to register a domain soon (which'll be tough if my cable company doesn't want me to run a server..), and I don't really want it to have the :8080 attached at the end of it. If anyone could help, it would be much appreciated. Thanks![/QB]
Well... since all browsers (afaik) send requests on port 80 unless specifically told to go to a different port by using:8080... your hooped. :(
jg
mattn
08-13-2001, 05:55 PM
you're not necessarily screwed just yet :)
i tried this and it worked great for me:
http://www.dslwebserver.com/main/sbs-webserver-on-a-different-port-number.html
yogee
08-13-2001, 09:29 PM
Hey thats sounds pretty good. Any other changes needed other than the previous one stated above?
duckie
08-14-2001, 10:13 AM
Ohhh that is awesome..thanks a TON mattn..now I just have to go register the domain name..I don't think ZoneEdit will let you use those dynamic DNS service websites, but that's OK..I just hope my cable company doesn't bust me on the whole "no servers allowed" thing ;D Thank you!
yogee
08-15-2001, 12:08 AM
I was going to do that too but my whole point was to get 2 domains hosted on here to learn how to do it. I have one and am not going to get another one just to learn how to use port 8080. I havent learned the regular way yet so playing a wak around isnt in my vocabulary (see wak above) yet.
When naming my redhat box, should i use a real domain name or just any thing i want? And then there is naming the server in apache too. That can be anything? Does a real domain if not need, have any atvantages in the whole box/server name setup?
[ 15 August 2001: Message edited by: yogee ]
jon787
08-15-2001, 10:52 AM
Originally posted by duckie:
<STRONG>Ohhh that is awesome..thanks a TON mattn..now I just have to go register the domain name..I don't think ZoneEdit will let you use those dynamic DNS service websites, but that's OK..I just hope my cable company doesn't bust me on the whole "no servers allowed" thing ;D Thank you!</STRONG>
You and me both!!! (and a bunch of other people)
mattn
08-16-2001, 03:24 AM
glad i could help :)
posterboy
08-16-2001, 09:51 AM
Don't forget dns2go. They support linux, and have a redirection service that will send a visitors browser to any port you say. Neat thing is, it does an ordinary lookup on the domain, and only redirects if the addy is www.domain.com. (http://www.domain.com.) This allows sendmail, pop, ssh, whatever to work normally. I _maybe_ have got it working, I just got set up yesterday, but i have had some visitors, so we'll see as the DNS boxes refresh.Take THAT, AT&T. an' 'sides, it wasn't US that caused it in the first place. Ray