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.
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.