Need Help!

One easy way would be to create both domains as separate domains.

Then for the domain you want to redirect,

delete the public_html directory and link it to the public_html directory of the want you want to show up.

Jeff
 
Could u explain how to do it?
I know how to delete public_html, then i dont know how to link to public_html for sconet.co.uk domain :( .

Thanks for your help
 
Last edited:
This should work; try it on a domain you set up just for testing first.

WARNING: it's UNTESTED. Try it first on a domain you set up just for testing.

WARNING: anything inside the first username's public_html directory will be irretrievably deleted when you do the rm command.

Anything I've typed in ALL CAPS needs to be substituted by you with the right information for your domain. USERNAME and DOMAIN are the username and domain name of the domain your're linking, and TARGETUSER and TARGETDOMAIN are the username and domain name of the domain you're linking to.
Code:
# cd /home/USERNAME/domains/DOMAIN/
# rm -Rf public_html
# ln -s /home/TARGETUSER/domains/TARGETDOMAIN/public_html public_html
Then test it from the 'net to see if it works.

Jeff
 
Right, i still dont no what to do lolz. Where i input it?
 
Back
Top