Report this

What is the reason for this report?

I cant access my website after i setup ikev2 vpn in same droplet?

Posted on January 31, 2018

So I followed this guide in setting up my personal vpn on the same droplet which contained my website.

Now the vpn works but my website doesn’t work anymore.

I tried enabling ufw again but still doesn’t work.

Luckily I made a snap of my droplet before doing it.

I’m just here to know if it is possible to do it or not.



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.
0

I used this guide/tut: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-16-04#step-4-—-configuring-strongswan

Everything’s working fine now. I have fixed it.

I first restored from a snap.

What went wrong was that at my first install (I’m using putty here), i put the host name as my domain then log on to my sudo user there and this where the website did not load.

On second attempt and the fix: I ssh using my site’s ip address instead of the domain and installed everything and all of it works fine.

Website now loads and the vpn works.

I know I was stupid to ssh through my domain. Haha So yeah… Maybe someone out there made the same mistake as mine, I’m just putting this here.

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.