Host your Website/API FOREVER for FREE(Not a Joke!)

Welcome Back! A Little Plug?

Welcome back, today with a post on Web Development mostly! But you can use your creative knowledge to extend it and be sure to leave it in the comments for others as well! Anyways a shameless plug to my Discord s…


This content originally appeared on DEV Community and was authored by PyBash

Welcome Back! A Little Plug?

Welcome back, today with a post on Web Development mostly! But you can use your creative knowledge to extend it and be sure to leave it in the comments for others as well! Anyways a shameless plug to my Discord server - if you want to chat with me! Or have questions ask in the help channels! Ahh and the plug is over! Let's get into the actual stuff now!

Let's get into it!

Well, firstly it is going to be hosted on repl.it, so if you want to customize the domain, refer here. Anyways now on to the actual part. So I will be using this simple flask app to demostrate -

Ok so once you have your website/API written in repl.it, Run the code by using the Run button on the top of the screen,
run-repl-it
once running you should see a new pane open on the right showing you website, copy the address of that from the address bar on top of the pane!
new-pane
Now, we are going to go to another website known as UptimeRobot, this website is going to ping our website every 5 mins to keep the server running for ever. After visiting UptimeRobot, you need to sign up for an account. Once that is complete, Click on Create new Monitor. Once you have done that fill in the details as follows:

Monitor Type - HTTP(s)
Friendly Name - Anything of your wish
URL/IP - Address you copied from repl.it.
Monitoring Interval - every 5 minutes
new-monitor-screenshot
Then click create new monitor and then click close. You should see a new monitor in your dashboard, and that's all actually! Now close the browser window and check if the website keeps running after an hour, do not open repl.it anymore within this one hour! If it is running after one hour, then, great it will keep running forever, if it doesn't however comment below, and I will try to help you!

End

Anyways, as you know everything that has a start has an end, similarly, this post has too! So byeeeeeeee!


This content originally appeared on DEV Community and was authored by PyBash


Print Share Comment Cite Upload Translate Updates
APA

PyBash | Sciencx (2021-06-27T10:35:01+00:00) Host your Website/API FOREVER for FREE(Not a Joke!). Retrieved from https://www.scien.cx/2021/06/27/host-your-website-api-forever-for-freenot-a-joke/

MLA
" » Host your Website/API FOREVER for FREE(Not a Joke!)." PyBash | Sciencx - Sunday June 27, 2021, https://www.scien.cx/2021/06/27/host-your-website-api-forever-for-freenot-a-joke/
HARVARD
PyBash | Sciencx Sunday June 27, 2021 » Host your Website/API FOREVER for FREE(Not a Joke!)., viewed ,<https://www.scien.cx/2021/06/27/host-your-website-api-forever-for-freenot-a-joke/>
VANCOUVER
PyBash | Sciencx - » Host your Website/API FOREVER for FREE(Not a Joke!). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/27/host-your-website-api-forever-for-freenot-a-joke/
CHICAGO
" » Host your Website/API FOREVER for FREE(Not a Joke!)." PyBash | Sciencx - Accessed . https://www.scien.cx/2021/06/27/host-your-website-api-forever-for-freenot-a-joke/
IEEE
" » Host your Website/API FOREVER for FREE(Not a Joke!)." PyBash | Sciencx [Online]. Available: https://www.scien.cx/2021/06/27/host-your-website-api-forever-for-freenot-a-joke/. [Accessed: ]
rf:citation
» Host your Website/API FOREVER for FREE(Not a Joke!) | PyBash | Sciencx | https://www.scien.cx/2021/06/27/host-your-website-api-forever-for-freenot-a-joke/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.