By jmcpa
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!
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.