Add a folder to the main Public_html folder

Status
Not open for further replies.

blow

Active Member
97
2010
0
85
Hi wj very basic question, i just got a shared host to host a wordpress blog, i've used the auto installer & everythings working fine.
The site is installed to the public_html folder but because i want to run a few websites, i would like to have all the files for the wordpress blog in a folder called domain1.com
and then my next site has its own folder ect... I can do it for add on domains, im just not shore how to do it with the main domain for the account.


My file structure:
Code:
public_html/
wordpress files
domain2.com
domain3.com


How i want it on my server:
Code:
public_html/
domain1.com/-wordpress files
domain2.com
domain3.com

I want to do this & then still be able to veiw the wordpress blog by just the domain, not by adding a / and the folder name.
 
1 comment
Just create the domain1.com folder and change the virtual host folder of domain1.com to public_html/domain1.com
After that, move all files to domain1.com folder.
 
Status
Not open for further replies.
Back
Top