Apache error letsencrypt error


I followed all steps for installing letsencrypt

But i get this error.

apache2: Syntax error on line 219 of /etc/apache2/apache2.conf: Syntax error on line 13 of /etc/apache2/sites-enabled/ f: Expected </VirtualHost> but saw </VirtualHost></IfModule>

Im extreme new to this . worked only on shared hosting cpanls etc

May be someone can help me

Thanks for support

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.


We reached the limit on the number of comments for the previous convo, so I’ll continue it here :-).

It really depends on what you’re looking for. I actually do freelance server administration and would be more than happy to work with you and your needs. If for some reason I’m not able to provide what it is you’re looking for, I’ll be more than happy to help you to find someone or a company that can.

If you’re interested, and so I don’t turn this in to an advertisement, shoot me an e-mail at the e-mail below (and change [at] to @) and let me:

1). # of Servers (VPS/Dedicated/etc) 2). What each Server is for (i.e. WordPress site/blog, Database, Web Server, etc) 3). Anything specific that you’re wanting or in need of.

jonathan.tittle [at]

If you’ll whitelist the above e-mail or the entire domain, that’ll ensure that communications are received as well, just so we don’t lose anything.

Look forward to hearing from you!


Would you mind posting your VirtualHost configuration block (from <VirtualHost …> to </VirtualHost>). This will allow us to take a look at potential issues that are hard to take a stab at when an error isn’t all that clear.