Question

I have 2 websites under one droplet but I can only see one in filezilla

Hello!

I have been handed this account in digitalocean to work on 2 websites.

The two websites are under one droplet. I have been able to see the files (in Filezilla) to work on the first website but I can’t seem to find or see any files in filezilla that are for the 2nd website.

Can someone help me with this problem?

The first website is located in /var/www/(website1name) so I tried looking for /var/www/(website2name) but there was no such thing.

How can I see and access the files so I can work on the 2nd website?

Thank you in advance!

Subscribe
Share

Submit an 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.

Hi @jmcpa,

I’ll recommend to check directly on your Droplet rather using SSH. Once you SSH to your droplet, check what Web Service you are using like so

netstat -tulpen | grep 80

It’s either Nginx or Apache. Either way, the configuration files of your website will be somewhere in the following :

/etc/nginx/conf.d/

or

/etc/apache2/sites-available/

Either way, cd to that folder and do a cat on the file with your website.

cat website2name.conf

There you’ll see a DocumentRoot folder. That is your path to your website.

Regards, KDSys