Visibility of folders from the Internet. Apache

For your clarification. public_html IS the web folder.

If you're no admin or reseller, you have to ask your host for support. This forum is only for Directadmin customers, zo admins and resellers, not for end customers of hosting company's just using DA. ;)
OK. Fine. I'll probably look for a hosting with a different panel then.
 
I'll probably look for a hosting with a different panel then.
I don't think you understand how it works. Anyway, the only hosting panels providing "web" als web folder is windows hosting. Which is more expensive mostly. But it totally doesn't matter how the web folder is called. Anyway, good luck finding other hosting.
 
I don't think you understand how it works. Anyway, the only hosting panels providing "web" als web folder is windows hosting. Which is more expensive mostly. But it totally doesn't matter how the web folder is called. Anyway, good luck finding other hosting.
1. I realized that my problem is being solved at the hosting administrator level. Therefore, sorry.
2. Most likely, by default, this function is not enabled in your panel
 
I don't think you understand how it works. Anyway, the only hosting panels providing "web" als web folder is windows hosting. Which is more expensive mostly. But it totally doesn't matter how the web folder is called. Anyway, good luck finding other hosting.
Composer for Drupal creates directories Web - That's the problem
 
2. Most likely, by default, this function is not enabled in your panel
DA has public_html, just like cPanel has, it's enabled by default.
So Drupal creates directory's Web, it's a Drupal issue.

Normally I don't help end customers often, but in your case, check this, a complete tutorial on how to do it and why Drupal uses several different directory's.

And also your host can fix this for you too.
 
DA has public_html, just like cPanel has, it's enabled by default.
So Drupal creates directory's Web, it's a Drupal issue.

Normally I don't help end customers often, but in your case, check this, a complete tutorial on how to do it and why Drupal uses several different directory's.

And also your host can fix this for you too.
All of these decisions are at the hosting admin or panel level.

And I'm a user. And I can't properly install Drupal on a subdomain from your Panel
 
Hosting support response on your panel:
- What is the problem? public_html is hardcoded into hosting configurations. It cannot be removed.
------
The circle is complete
 
You mentioned that you're only a user. Are you in a shared hosting environment? If yes, usually a web hosting company provide you with softaculous, you can use it to install Drupal. If you want to install it using composer, you would consider purchasing a VPS and install DirectAdmin, so you can have full access to both server and DirectAdmin to modify the document root of a domain/subdomain.
All of these decisions are at the hosting admin or panel level.

And I'm a user. And I can't properly install Drupal on a subdomain from your Panel
 
- What is the problem? public_html is hardcoded into hosting configurations. It cannot be removed.
LoL, it surely can be changed on a per user bases by the hosting company, so they either don't know it, don't want to do it, or they are not admin but reseller.
Unfortunately we can't help you with that since indeed it's at admin level.

Only solution is some hosting company who is prepared to do it, or the tip RoseHosting gave.
 
Why do you need to adjust it in DirectAdmin?
Can't you change the directory /www to /public_html in Drupal?
 
By the way. Drupal, which is installed from your panel, is installed incorrectly. The vendor directory must not be seen from the Internet.
 
 
To be honest, who uses Composer? Can't you use FTP then run the install script?

Or find a proper host that charges a reasonable price. Remember cheap isn't necessarily best.
 
To be honest, who uses Composer? Can't you use FTP then run the install script?

Or find a proper host that charges a reasonable price. Remember cheap isn't necessarily best.
Who Uses Composer? - All installations of Drupal for several years - Composer
All updates, all new and big modules for Drupal - only Composer
 
Back
Top