ChangeIP.com Forum Index ChangeIP.com
Dynamic DNS Forums
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Including a port with the IP address

 
Post new topic   Reply to topic    ChangeIP.com Forum Index -> Troubleshooting
Author Message
milkman
Junior Member


Joined: 05 Jan 2004
Posts: 1

PostPosted: 01-05-2004 09:48 AM    Post subject: Including a port with the IP address Reply with quote

I have set up my server to serve both port 80 and port 8080 with different content. I wish to use 8080 for a different HostName, so I have created the host name and entered the ip and the port (w.x.y.z:8080). This works fine BUT it is picking it up as a [i]url[/i] not an [i]IP[/i]. Is there anyway of getting it to recognise it as an IP, or is this not possible?

I'd rather the HostName were not an URL forward.

Thanks in advance.
Back to top
thequux
Junior Member


Joined: 17 Feb 2005
Posts: 2

PostPosted: 02-17-2005 04:25 AM    Post subject: Ummm.... Reply with quote

You can't have a DNS entry with a port on it, because otherwise there would be problems... does the user's port ar the port reported by DNS have precedence?

IIRC, port redirection is uone on a higher level, by either proxying (more or less) or using the HTTP Location header; this works great for connecions on port 80/443, but it's pointless for other protocols.

If I actually do know what I'm talking bout (doubtful but pssible), the URL won't matter... it will ignore the port if the user specifies their own.


Another, completely different, option is to use the Vserver option of Apache, run both servers as one process, and set the port 8080 to also listen to <other hostname>:*. Read the excellent docs for apache for help with that, if it applies in any way to your situation. Otherwise, fe el free to whack me over the head with the proverbial clue-by-four.

Hope that helped...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ChangeIP.com Forum Index -> Troubleshooting All times are GMT - 8 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group