Report this

What is the reason for this report?

CMS Installation, FileZilla & ISPConfig: /var/www/html versus /var/www/clients/client0/web1/web

Posted on January 4, 2015

I am trying to install Drupal via FTP with Filezilla.

I logged in as an FTP user. The file was transferred into /var/www/clients/client0/web1/web

I moved the files out of the Drupal folder directly into web and deleted the Drupal folder.

Per Till at ISPConfig:

"You dont have to configure anything in apache, thats all done by ispconfig already.

Just upload your drupal install by ftp or on the shell to the folder /var/www/clients/client0/web1/web/ (the right folder is /var/www/clients/client0/web1/web ).

A folder /var/www/html is used only on servers that dont use a controlpanel and that dont host more then one site. So this does not apply to your server.

just:

unpack your drupal zip. upload it to /var/www/clients/client0/web1/web/ (or copy it there on the shell, if you prefer Linux shell commands over GUI dragnDrop programs."

I loaded my website and still got the apache default page.

I entered “sudo ls” on the command line interface and saw that client0 has two folders: web1 and mywebsite.co.uk

Both web1 and mywebsite.co.uk have identical folders called web.

I thought perhaps the drupal installation is ftp’d into the web1/web folder and then has to be moved to the mywebsite.co.uk/web folder, but Till says,

“No, thats ok. The installation has to be in web1/web. The path “yourwebsite.co.uk”/web is a symlink, so thats the same folder then web1/web.”

I asked Digital Ocean but Brad said:

"We’re sorry, but this is considered beyond the scope of our support.

I would recommend that you try to get more eyes on your issue by reaching out to our community and include a description of what you are trying to accomplish along with what you’ve done so far. It’s very likely that your issue has been addressed before."

Any assistance would be greatly appreciated!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You have correct directory information.

Not sure how to proceed.

Can you confirm that ispconfig is pointing to the correct directory for your site.

Since your are seeing the default apache index.html I am thinking you have something misconfiguration with ispconfig. ispconfig does create a default index.htm page but don’t think it references server type and has a link back to ispconfig. At least with nginx it does.

Double check your /web folder for the index.html file. Also if you try https://yoursite.co.uk/install.php do you get the drupal setup or page not found.

Heya,

Apache is either not pointing to the correct directory or that the files haven’t been correctly uploaded or extracted

First, ensure that all Drupal files are correctly placed in the /var/www/clients/client0/web1/web/ directory. This is where your ISPConfig setup expects the web files to be.

Since you’re using ISPConfig, the Apache configuration should already be set correctly, but let’s confirm a few things.

Apache should be pointing to /var/www/clients/client0/web1/web/ as the DocumentRoot. You can check this by viewing the site configuration file:

sudo cat /etc/apache2/sites-enabled/000-ispconfig.conf | grep DocumentRoot

If you’re seeing the Apache default page, it might be because Apache is serving the default site configuration instead of your Drupal site.

sudo a2dissite 000-default.conf 
sudo systemctl reload apache2

After doing this, reload your website. It should now attempt to load your Drupal site.

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.