How to easily edit multiple Apache .conf files?

Posted September 19, 2019 1.6k views
ApacheConfiguration Management


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?


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.

Submit an Answer
1 answer

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,