3

What's the difference between the www & public_html folder on the same server on my shared linux hosting. I've seen data is same on both of these folders. Is one of them just a redirect or is the data getting replicated. What is the purpose of 2 folders or even a redirect folder?

Thanks in advance! :)

1
  • 3
    It depends entirely on the local configuration; ask your hosting provider.
    – Insyte
    Mar 29, 2010 at 21:28

2 Answers 2

5

The primary difference would be a preference between naming conventions and how your hosting service configured it. I have typically used public_html for user directories and often www for system-wide but that's more a personal convention.

In all likelihood, there is no difference but we can't speak for an arbitrary configuration.

1

Usually the www folder is simply a symbolic link of public_html.

3
  • A mirror? What, using more disk-space? That seems highly unlikely.
    – Phil P
    Mar 29, 2010 at 23:31
  • 3
    I think he means symbolic link.
    – user32616
    Mar 30, 2010 at 0:30
  • My mistake, typing quickly without thinking. Everyone makes mistakes. More like "mirrors" - ie same content, not literally.
    – djs596
    Mar 30, 2010 at 15:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .