Question

How to easily edit multiple Apache .conf files?

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?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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