Question

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

Posted April 18, 2020 206 views
Getting Started

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 !

1 comment

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.

×
1 answer

Hi @vincej,

I can see you’ve asked a similar question here - https://www.digitalocean.com/community/questions/how-to-create-a-staging-server,

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 :

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04

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

by Mark Drake
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This stack typically consists of the Linux operating system, the Apache web server, a MySQL database, and PHP, a dynamic content processor. This tutorial serves as a guide for installing these components on an Ubuntu 18.04 server.
Submit an Answer