Report this

What is the reason for this report?

How to easily edit multiple Apache .conf files?

Posted on September 19, 2019

Hi,

I need to reconfigure a few (sub-) domains and really would like to avoid editing these virtual host .conf files with sudo nano (it’s unworkable for me).

But when editing these .conf files locally, Filezilla fails to upload them with permission issues.

My question: is there an easier / more workable way to edit .conf files then nano?



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.

Hi @dizid,

I’ll recommend using VIM however if you are unfamiliar with it, it might prove more of a challenge than just using nano.

Regarding Filezilla, I’ll suggest checking the user using to connect via FTP and what permissions it has.

Kind regards, Kalin

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.