Results 1 to 5 of 5
Hello All,
I recently migrated my hosting over from a Microsoft to Linux based package, primarily because I wanted to use Wordpress.
Is there any special significance to the directory ...
- 04-15-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 2
Directory Structure under Linux?
Hello All,
I recently migrated my hosting over from a Microsoft to Linux based package, primarily because I wanted to use Wordpress.
Is there any special significance to the directory structure under such hosting? I have seen on a friends hosting through a different supplier that he has folders such as public_html and a few others. My package came with no folders at all, it was entirely blank so I merely created one folder for each domain name I own and pointed the domain to its folder. All my web pages reside within the named folder. They seem to be working OK so I don't have an immediate problem but I was wondering whether things like search engine spiders expect to see a particular directory structure. Or if there I any other compelling reason for any specific folders to be present.
Can anyone advise?
Thanks in advance for any help.
- 04-15-2011 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,939
I don't know what that means. Most Linux systems have web server files in sub-directories under /var/www, either html or htdocs. Opensuse and Suse Linux use /srv/www. All the distributions I've used also have a public_html directory in /home/user directory.Linux based package,
Not sure exactly what you are looking for?
- 04-15-2011 #3Just Joined!
- Join Date
- Apr 2011
- Posts
- 2
That's just it. My Linux server had no sub directories at all.
I created folders with the same name as each of my domains and uploaded my html files into the respective folders. I then pointed the domains to the folders and all appears to be OK.
My question really is: Are the server sub folders that are normally present, such as public_html, essential for any particular purpose. Does it matter that they are missing from my web server?
- 04-16-2011 #4
Really, those folders can be created anytime you like. They mainly serve as a convenient place to point your domains to.
- 04-17-2011 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I think you are just fine. From the classic, if it ain't broke, don't fix it!
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote