PDA

View Full Version : Need Help!



Sco
06-30-2004, 01:20 PM
Is there any way i can have a domain with a different name, but still goes off all pages off my proper domain. like i have go www.sconet.co.uk i now have brought as www.scohost.net. I dont want it to redirect it to www.sconet.co.uk. I want to it be on its own so it goes to www.scohost.net/index.php?p=whatever.

Thanks for your time!

nobaloney
06-30-2004, 03:47 PM
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

Sco
07-02-2004, 01:27 AM
Thanks alot ill try that :)

Sco
07-02-2004, 01:38 AM
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

nobaloney
07-02-2004, 11:16 AM
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.

# 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

Sco
07-03-2004, 05:26 AM
Right, i still dont no what to do lolz. Where i input it?