Koozali.org: home of the SME Server

How do I point a subdomain to an internal machine?

Quade

How do I point a subdomain to an internal machine?
« on: February 07, 2002, 03:05:12 AM »
I've got mydomain.tld and sub.mydomain.tld pointing to my server's IP address. I've made a hostname entry for sub.mydomain.tld as a "Local" location, pointing to my desired internal machine. I've tried several variations, but so far, the machine doesn't seem to be available outside my network.

Basically, I want access to my MP3 collection while I'm at work, and there's no room on the SME server. Is there anyway to get access to this machine via HTTP or FTP via the SME server? I'd also like to have web access to this machine using the subdomain in question.

TIA
Quade

Bobby

Re: How do I point a subdomain to an internal machine?
« Reply #1 on: February 07, 2002, 03:19:00 AM »
I would map a port other than 80, let's say 8080 to your internal machine.  Have your internal machine listen to port 8080 for web requests.  This is NOT making it there as a subdomain, but it will allow you to access your machine from the outside.

/B

Garret

Re: How do I point a subdomain to an internal machine?
« Reply #2 on: February 07, 2002, 03:36:38 AM »
I believe the answer is no on the subdomain redirection. I would like to see something like that also, and virtual domain redirection. That would allow one ip address to an unlimited number of dedicated servers.

It can be done of course, just not with a stock box.

Bobby

Re: How do I point a subdomain to an internal machine?
« Reply #3 on: February 07, 2002, 03:43:54 AM »
How about this:

Create a mount point that points to the internal server directory where your files are listed.  Then just point a virtual or sub domain to that mount point?

/B

Garret

Re: How do I point a subdomain to an internal machine?
« Reply #4 on: February 07, 2002, 03:49:12 AM »
probably work, but messy I'd say. Looking for more of a port fowarding type soloution. Pick the vh, pick the ip address, and your off.

Bobby

Re: How do I point a subdomain to an internal machine?
« Reply #5 on: February 07, 2002, 03:53:30 AM »
Messy?

Okay.  I have offered two options.  If neither work for you, so be it.

/B

Charlie Brady

Re: How do I point a subdomain to an internal machine?
« Reply #6 on: February 07, 2002, 04:13:17 AM »
Garret wrote:

> It can be done of course, just not with a stock box.

WIth stock 5.1.2 this is possible, due to the inclusion of the e-smith-proxypass module. "rpm -qiv e-smith-proxypass" will give you the configuration instructions, as there's nothing in the server manager to set it up.

Regards

Charlie

Garret

Re: How do I point a subdomain to an internal machine?
« Reply #7 on: February 07, 2002, 04:50:24 AM »
"Messy?

Okay. I have offered two options. If neither work for you, so be it."

Yes, messy. It woudldn't be me implmenting this and one of the reasons we use e-smith is because of it's ease of use. If it were for my own personnel use at home, the sollution would be acceptable, but it's not, and it wouldn't be acceptable.

I certainly appreciate your input and in no way meant to discount it. It just doesn't work for us, simple as that.

Thank you Charlie, I'll look at it right now.

Garret

Quade

Re: How do I point a subdomain to an internal machine?
« Reply #8 on: February 07, 2002, 03:56:22 PM »
Hey guys, don't forget about me. :)

I have already set it up so that SME forwards the port to my internal machine. However, the mount idea, I have to say is brilliant. I didn't even think about that. I'll have to figure that out today when I find myself unoccupied at work.

As for SME 5.1.2, Charlie, so you're saying that is a new feature of 5.1.2? If that's the case, I may have to upgrade this weekend.