You should just be able to add a cname entry to your DNS entry for your TLD for the subdomain.
and I don't think it would be www.bob so much as just bob.mydomain.com
I need to know how to forward requests for differnet servers to different IP addresses.
The situation is this - a friend has his own webserver at home and wants to host a subdomain of the domain that I have. So if someone types in www.mydomain.com they will come through to my machine, whereas if they want to go to www.bob.mydomain.com they need to be forwarded to the other machine on a different IP address.
Is this possible, and if it is how would I do it - I assume that it has something to do with DNS, so would I have to host a DNS server here to make this possible?
If someone could just point me in the right direction it would be great.
Im not too sure if I can do that - as I have a dynamic IP address I pay no-ip.com to map my domain onto my dynamic ip. Although they allow wildcards and sub-domains there is no option to give a different IP address to a sub-domain.Originally Posted by mcangeli
there should be a way to set a specific subdomain. I'm not familiar with no-ip whatever.....
but in bind it would be:
bob. cname <IP ADDRESS>
Excellent - thank you! ops:
The option was well hidden - as Im paying for the service I wouldn't have thought ath I would have so many hoops to jump through!!
good. glad things worked out.
So, speaking hypothetically, if I wanted to do this internally, and I had two webservers running on my internal network one called web.mydomain.org and one called forum.mydomain.org I would need to be running a DNS server (Bind) so that the router would know which of the two servers the request was to be sent to?Originally Posted by mcangeli
I think that depending on the router you can specify.
But I'm not sure.
Well I run smoothwall as a router/firewall and that has always been really configurable for me in the past. I look into the port forwarding - it must be in there. I know that you can filter by the port the the request is coming in by, so I would have thought that you can also do it by host name that is being requested.Originally Posted by mcangeli