Sending HTTP Requests to ports other than 80, anyone know how? |
Sending HTTP Requests to ports other than 80, anyone know how? |
Jul 12 2004, 05:00 AM
Post
#1
|
|
Manus Celer Dei Group: Dumpshocked Posts: 17,006 Joined: 30-December 02 From: Boston Member No.: 3,802 |
Pretty much what the title says. I'm trying to put together a new Shadowrun site, the Grid Overwatch Division, but I have two sites I need to be hosting. I could just pull a server out of the LAN, but I'd like to avoid that if at all possible. So I came up with a solution: have the HTTP requests come in on 8080 and just redirect them to 80 with the router.
Question is, how do I get the requests to do that? (And, on another note, can everyone access that?) ~J |
|
|
Jul 12 2004, 05:52 AM
Post
#2
|
|
Moving Target Group: Members Posts: 511 Joined: 30-May 03 From: Tulsa, OK Member No.: 4,652 |
That site isn't accessable here.
Are you hosting it off of your personal internet connection? Does your provider block incoming port 80 traffic to discourage webservers? If that's the case the traffic gets blocked before it gets to your router and you can't have the router change the port traffic. Otherwise, it just depends on your router and how it's configured to alter traffic, which one do you have? |
|
|
Jul 12 2004, 11:28 AM
Post
#3
|
|
Manus Celer Dei Group: Dumpshocked Posts: 17,006 Joined: 30-December 02 From: Boston Member No.: 3,802 |
Yes, I'm hosting it off my personal connection. No, my ISP doesn't block port 80; I'm just trying to get two sites hosted off the same external IP address (NAT, natch) without putting two instances of Apache on a single computer.
My router is an Apple Airport Extreme Base Station, but I've already got it set to route requests on port 8080 to port 80 on the computer in question; I think the part I'm stuck on is getting the requests to come in on that port. ~J |
|
|
Jul 12 2004, 05:09 PM
Post
#4
|
|
Moving Target Group: Members Posts: 511 Joined: 30-May 03 From: Tulsa, OK Member No.: 4,652 |
Apache can handle this with one instance by setting up 'virtual hosts'. So, if you can have two hostnames set up for the same ip that would definitely be the way to go. If your provider is doing the DNS for your domain name they shouldn't have too much of a problem adding another host pointing towards your ip address.
Virtual hosts are pretty simple to set up if you have the proper dns entries to point multiple domains at the same ip address. They can even be things like host1.blah.com and host2.blah.com. Apache will then serve different content based on the host being used. Also, to get requests to go to a certain port you would use a url like this: http://blah.blah.com:8080/ |
|
|
Jul 13 2004, 11:48 PM
Post
#5
|
|
Manus Celer Dei Group: Dumpshocked Posts: 17,006 Joined: 30-December 02 From: Boston Member No.: 3,802 |
Got it, it'll be set up soon. Until I get the pointing done correctly, the initial bits of the Grid Overwatch Division are accessible at http://www.artyv.com/, though after I get the virtual host set up the gridoverwatchdivision URL will be active and that URL will be a completely different (and non-Shadowrun) site.
~J |
|
|
Jul 14 2004, 05:00 AM
Post
#6
|
|
Manus Celer Dei Group: Dumpshocked Posts: 17,006 Joined: 30-December 02 From: Boston Member No.: 3,802 |
Done and done. http://www.gridoverwatchdivision.net/ should be accessible now, and the previous link should lead to a blank white page with the words "this is a placeholder" on it.
Thanks for everyone's help. Now, the real question: what do I put on here… ~J |
|
|
Lo-Fi Version | Time is now: 23rd November 2024 - 12:54 AM |
Topps, Inc has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. Topps, Inc has granted permission to the Dumpshock Forums to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with the Dumpshock Forums in any official capacity whatsoever.