Cannot add port to ip in DNS ?(Moved)

GlennH

Verified User
Joined
Jul 10, 2004
Messages
49
Cannot add port to ip in apache (wasDNS) ?

I used to have a NS from a windows box that allowed me to create an A record (or C name I cant remember) with my ip:port,

mysite.com A 12.34.234.45

I would like to map,
myapp.mysite.com to 12.34.234.45:4321

myapp listens to a port, and has its own
server, I also did it for MyPhpAdmin
makes life easy..

I tried both c name and A but both times recieved an error from DA

Any ideas on what im doing wrong ?

Thanks
GlennH
 
Last edited:
Hello,

I'm not aware of any way of using the dns system to map to a particular port. I just tested it with 1.2.3.4:1234 and it generated an error (bad dotted quad). I believe you can only map myapp.mysite.com to an IP address, then just access the site via:

myapp.mysite.com:4321

John
 
John, Im sorry I didnt remember all the
details...

Say I used a custom program that listened to port 1234 by default no server needed, it had its own.

I added the myapp folder to a virtual directory in windows IIS, (only to controll its permissions)

then I was able to give that virtual dir a subdomain

then tell the server foward all requests for subdomain.mysite.com to mysite.com:1234

With the myapp folde in linux, im not as worried about the permissions, so I guess a dummy subdomain would work.
I would have to take all requests and forward them to myip:1234 ...

SO with all that, can I do it in DA ?
(Im so new to DA I dont want to break anything I have working so far ;)

GlennH
 
Back
Top