Can I load my website, view it in totality, but make it unavailable to the rest of the world?

I am new to DigitalOcean. I am building a SaaS application locally, and would like to load it onto DO in a testing / production mode. ie it is not yet ready for public consumption Therefore I want to be able to view it in totality including the source, but have it unavailable to the public. How would I do this?

Locally I use Laravel, Linux Mint, MySql, JS.

Many Thanks !


I believe this is known as a staging server.

Submit an 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.

Hi @vincej,

I can see you’ve asked a similar question here -,

I’ve answered it however, I’ll post my answer here as well: ’

Firstly, you’ll need to create a droplet with a LAMP stack - Apache,MySql,PHP. You can use the following article to achieve that :

Once you have it, you should be able to use a program like Visual Studio Code alongside SSHFS to connect remotely to your laravel project and develop it.

Regards, KDSys ’