主机上传的目录均为public_html目录,主域名的目录即为public_html这个目录,事实上有些朋友还会注意到在FTP根目录里还有一个www的文件夹,这个文件夹其实和public_html是异曲同工的,他们作用相同,在你上传到public_html目录文件的时候,同时会在www目录出现相同的文件,反之亦然!

绑定其他域名或二级域名的时候会在public_html生成其他的文件夹,上传网站程序的时候对应的上传到指定的文件夹目录即可。如果你的网站比较多,为了不混乱,最好独立记录一下哪个域名对应哪个目录!

分享到: 更多

6
说点什么

avatar
6 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
6 Comment authors
www.mayileju.com蚂蚁乐居hailpornluo.laxing Recent comment authors
  Subscribe  
最新 最旧 得票最多
提醒
daxi
游客

学无止境,认真拜读!

xing
游客

来看看,因为,总能学到东西!

luo.la
游客

Ye ! This Is A Good Blog!

hailporn
游客

Hello There! Have A Good Day!

蚂蚁乐居
游客

真心不错,不得不支持一下先!

www.mayileju.com
游客

来了一次又一次,总是情不自已!