|Redirect a subdomain to other server|
Easy on apache, not here...
| 5:24 pm on Apr 18, 2009 (gmt 0)|
I'm struggling with a new client here. I'm trying to create and redirect a subdomain (secure.example.com) to setup a secure store. I'm having serious issues installing php/mysql on a very old IIS server, so I decided to use a redirect to a linux based server. Thing is, the domain is setup here too, so I'm looking at this "dnsmgmt" screen trying to redirect(even create) the subdomain to no avail. I get all kinds of error messages and all my test are not working at all. Some help here? How can I do this?
THanks in advance!
| 7:41 pm on Apr 19, 2009 (gmt 0)|
What about doing a Cname over to the other server?
| 8:22 pm on Apr 20, 2009 (gmt 0)|
Erm... how do I do that? I know how to do it on Apache, but here, I'm lost! Some help please?
| 3:07 pm on Apr 21, 2009 (gmt 0)|
Please do tell us how you create a CNAME on Apache!
| 3:35 pm on Apr 21, 2009 (gmt 0)|
Don't be mean. I'm sure gutabo means a redirect rather than a cname. Gutabo you set up a CNAME in your DNS.
| 9:44 am on Apr 22, 2009 (gmt 0)|
I'm not being all that mean, just trying to get some information from him. Admittedly, I could have phrased it a bit better, but it's very unclear what he's trying to do exactly and there's no real way of answering the question without knowing what he wants. If he tells us how he'd do it on Linux or Apache, then we can tell him how to the same thing on Windows or IIS.
I never presume to much when answering questions. These questions remind me a lot of someone who came on these forums once asking similar questions. It turns out that this guy was hired to update some ASP code. He told his employer that he could do ASP when he actually couldn't. He decided to redirect all the requests to his employers expensive machine in a data centre and have them all served by a Linux/Apache machine that he had at home!
At first I thought the same as you (I think) in that he's trying to set up some HTTP Redirect to another server. He does indeed talk about using a "redirect", and he's posted in the IIS/ASP forum which isn't relevant to MS DNS.
If you look at what he's trying to do, it looks like he's actually trying to set up the DNS on the Windows server so that the subdomain points to the Linux server. I think he's just trying to direct the A record to the correct IP, he's not trying to do an HTTP Redirect.
It begs the question as to why he doesn't just use the Linux machine as the DNS server and have done with it! If he couldn't figure out how to work IIS, what makes him think he can figure out how to work MS DNS!
gutabo, If you tell us the following, we'll be in a better situation to answer you:
a) How would you do this on your Linux server?
b) What have you done so far to try and do the same thing on Windows? What errors are you getting? Please post them here.
c) Is there any reason why you absolutely must use the Windows server, rather than just use the Linux machine.
We're usually happy to help if given enough information to be able to do so.