Page 1 of 1

Setting up subdomains

Posted: Thu May 08, 2014 4:48 pm
by ed1023
Ok I am a little bit of a network amateur so please bear with me. I want to setup subdomain names to go to different internal servers.

Hardware and Software forward:
Gargoyle Version: 1.5.10
Model: Netgear WNDR 3700v1
Device Configuration: Gateway

I have a domain pointing to my router
http://something.net

I have port forwarding set up to forward port 80 to an internal ip that my webserver is at

What I am hoping to be able to set up is subdomains that I can point to different internal network address that I have servers or vms sitting on.

Examples:
http://mail.something.net -> would go to an internal server to handle mail.
http://src.something.net -> would go over port 80 to an internal web server that hosts gitlab.

Is it possible to do this? I assume that I will have to edit config files, if so what do I need to edit. Or do I need to go to a full blown Linux box to set something like this up?

Re: Setting up subdomains

Posted: Sun May 18, 2014 6:20 pm
by throughwalls
You can have multiple subdomains
XYZ.something.net
mail.something.net
smtp.something.net
Each of these can be set up to the same ip address as something.net Your domain registrar can likely help with this

You then do port forwarding for each of the relevant protocols to the appropriate internal services running on one or more internal servers. This is done in Gargoyle