By zatania
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!
Accepted Answer
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.