PDA

View Full Version : How to set 2 seperate directory for 2 domains in one package?


gnw
5-2-06, 11:48 PM
Hi all,

Is it possible to create 2 seperate directories to host 2 domains under one package?

I was just planning to host my domain with powweb, but since they also gave a free domain so I took it. The problem appears when I logged into the OPS, the free domain becomes the main domain and I had to add my domain as a serviced domain.

Q1. is it possible to switch this around?

now all i have in FTP is 2 folders [cgi-bin] and [htdocs], everything I put in [htdocs] appear on both domians.

Q2. How could I create seperate 2 folders so that each domain has its own directory for different html home pages.

This is all new to me, any help will be appreciated.

Thanks

IanS
5-3-06, 06:20 AM
A little reading is needed:

Look in the knowledge base here (http://kb.powweb.com)
Specific answers here (http://kb.powweb.com/search/pointed%20domains)

capecodgal
5-7-06, 10:18 PM
You need to modify the htaccess to redirect the second domain to a sub directory or sub domain-

Make a sub directory or sub domain first and then use the htaccess to redirect the 2nd domain to the sub directory or sub domain that you just created.