Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

There are lots of questions around this general area, but I haven't seen one that exactly mirrors what I'd like to know. It's per the title really. My understanding (and what I'm told by my host) is the easiest thing is just to get the transfer key and bring the DNS across to my own hosting provider. Also I'm told by my host this doesn't affect the client's ownership of the domain itself.

Basically, I have a subdomain setup with the site (this has the same IP address as the top level domain). So presumably just giving the other registrar that IP address will only refer it only to the TLD rather than the subdomain.

What's the easiest way to achieve this? It's an asp.net site, I don't have a hosted directory on the client's account where I can code a redirect.

Thanks all

Mark

share|improve this question
add comment

migrated from stackoverflow.com Feb 20 '11 at 14:04

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 0 down vote accepted

Then your solution might just be a 301 redirect (SEO friendly) in the .htaccess file.

Link

share|improve this answer
    
Yes that does look suitable. thanks for that –  Glinkot Feb 22 '11 at 3:19
add comment

It depends on the functionality allowed by your hosting provider, but I'd imagine that Host Headers might be your solution.

You'd get your domain (at the registry to point) to your hosting provider, and setup a host header(for your subdomain.domain.com address) and the site you want it to go to on your hosting provider could point to serve it.

I'm pretty sure this is how IIS works with host headers.

Link detailing how...

share|improve this answer
    
Hi Nick, thanks for that. Unfortunately I don't have direct IIS config access, I have to use Plesk which isn't my favourite (though better than some others I've used!) –  Glinkot Feb 20 '11 at 11:10
add comment

Thanks guys. In the end the client set their own hosting up, so I'm not actually sure which one of these to mark as the answer! I'll be noting both of them for future cases. If anyone would like to propose which is the most suitable, I'll confirm it. :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.