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

I have websites running in a host & domain with the same company (CompanyA) Then I transferred some of my website (www.abc.com) to another domain company (CompanyB)

My problem is www.abc.com can't able to read my index.html. Always Under Construction.

What are the possibilities that causes for displaying the UndeerConstruction default ng site ng CompanyB instead of my index.html?

share|improve this question

migrated from stackoverflow.com Jul 23 '11 at 17:36

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

3 Answers 3

There are two ways to interpret your question: the first is that you want you domain A to be redirected to the server of domain B. That can be solved be adjusting the DNS-settings. For instance: www A 123.123.123.123 becomes www A 313.123.123.123. You can look it up on google if you want.

The second way to interpret your question is that you want to tunnel your domain A's viewer to the content on domain B. That should be able with some php scripting. I can't help you with PHP; once again google (next to stack overflow :D) is your best friend.

share|improve this answer
    
i am thinking of just a settings in the CompanyB part. please refer my comment with Liam's answer. Guidance on the right direction is apprecaited. –  eros Jul 23 '11 at 8:13
    
You can't do anything without access to the domain's settings, or the original host CompanyA. Otherwise I could show anyone else's website on my server –  Liam Bailey Jul 23 '11 at 10:46

We need more info: what do you mean by "some of my website"? This is a strange statement. Have you changed nameservers or IP to point to companyB?

When you transfer a website you transfer the files first then change the nameservers to the new server, this is called mirroring. Then as it takes 48 hours for the dns change to take effect no one is seeing the site as down although there are always some minor problems even if you do mirror the site on both servers. If you haven't changed the nameservers the domain points to then this will be your cause. If you have I will update my answer.

Update after comment:

Actually if your files are on the server with company A then they are still hosting your website and your A records need to point to their server's IP. But this makes the new host (Company B) redundant.

share|improve this answer
    
websiteA websiteB are hosted & domain with CompanyA. then i transfer the websiteB to CompanyB but the websiteB's files are still reside in the CompanyA. I think just need to point from CompanyB to CompanyA. But I am newbie to that.Any guidance is appreciated. –  eros Jul 23 '11 at 8:04
    
Update after comment: response --- after i successfully done with DNS settings. Do I need some time to be reflected? –  eros Jul 23 '11 at 8:26
    
domain control panel where it is registered.. means the Company A?.... IP of the new server.. means the CompanyB? –  eros Jul 23 '11 at 9:05

It must be a different setting in your server configuration file. Can you access www.abc.com/index.html ? If you can you should try adding this in your .htaccess file:

DirectoryIndex index.html
share|improve this answer
    
the site is cannot be found,.. even I entered the complete url to index.html or other file –  eros Jul 23 '11 at 8:02
    
when did you transfered your website? you must wait 48 hours for finishing succesfully the transfer as Liam said –  George Jul 23 '11 at 8:03

Your Answer

 
discard

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