Domain redirect

Discussion in 'Web Hosting' started by basiimm, Oct 20, 2011.

  1. #1
    I have a domain say a.com on server A and another domain b.com on server B. My php code resides on public_html of b.com.I want to run the code of b.com but using url a.com on the browser.ie the user enters a.com in the browser but actually it runs b.com and gives the output keeping a.com in the url
    ________________________
    I cannot use url masking methods like frames,htaccess or URL Masking with Page Retrieval (All these methods i found on internet) as I found these are not matching my requirement
    ____________________________

    I am able to edit DNS entry on server A (a.com) like cname point to b.com etc. But I dont know exactly what to do on server A and also in server B to resolve this....Kindly help as this is a road block for me right now.
     
    Last edited: Oct 20, 2011
    basiimm, Oct 20, 2011 IP
  2. Jasonmcc

    Jasonmcc Greenhorn

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    Hi, for doing that you should go to control panel of your website "a.com" and click on redirect thats what exactly every hosting provider provides to their customers, then entre your domain which you want to redirect to then it will be redirected to the concerned domain.
     
    Jasonmcc, Oct 20, 2011 IP
  3. basiimm

    basiimm Guest

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This can be done by pointing cname of a.com as b.com and adding a park domain a.com on server B
     
    basiimm, Dec 2, 2011 IP