Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a domain with hosting from some ABC provider. The site is up and running.

I recently bought its .com i.e from a seller on GoDaddy, I want to use the same hosting that is already present for my .in.

I do not want to host a seperate site using this hosting, I want to point to the same site.


say I have a post on and if somebody hits it should show the same page without changing/redirecting to the .in url

I read about pointing name-servers of my .com to the .in and then somehow using the folder where the file resides.

I want my .com to be my primary site which I will be sharing with everyone, posting on facebook/twitter etc but behind the scenes it will actually be using the .in domain's hosting.

Can someone please adivce me on this ?

share|improve this question
If SEO is a concern then you should consider redirecting to your primary domain in order to prevent duplicate content issues. –  w3d Feb 26 '14 at 14:06

2 Answers 2

You want to update your DNS settings for the .com domain. The domain registrar usually has tools to make this easier. You can set a CNAME record (alias) like this: CNAME

This will cause to resolve to the same IP address as, and display the same content.

Some hosting providers have name-based virtual hosting which means that many domains can point to a single IP and display customized content. If that is the case, make sure your server is set to recognize that both and should point to your content.

share|improve this answer

If you were to use a CNAME then essentially the and the websites would appear to run in parallel with duplicate content - and this can poorly impact your search engine page ranking.

So while the CNAME solution more closely matches what you asked for in your request and requires less effort/changes, it is not ideal for the long term if you wish to use the .com as your primary domain moving forward. At some point you should be looking to move your website and email hosting to be setup under your new .com domain.

This may simply be a configuration change that your hosting provider is happy to accommodate for you, though depending on the provider they may require you to create a new hosting account, move the website and email mailboxes across yourself using a backup and restore method, and then cancel the original hosting account. Either way, you should end up paying the same at the end of it.

  1. For the domain setup DNS A records for www and @ pointing to the IP address of the web server your current website is hosted at - these will direct website visitors, and MX records to appropriate mailserver.

  2. For the domain use an HTTP 301 Redirect to point people to your new website domain, an setup email aliases to redirect inbound email messages to your new mailboxes.

share|improve this answer

Your Answer


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.