Hello, in this article, we'll learn how to host a static HTML / PHP website on cloudways.
What is CloudWays?
Clouways is the best-managed cloud hosting company in 2021. It is mainly focused on VPSs, and it has worked with the world's leading cloud providers, like Google Cloud, Amazon AWS, Digital Ocean, Lenord, and Valtur, to deliver the finest service.
How To Host:
STEP 1) >> Setting Up an Application.
Enter your credentials to access the Cloudways Platform. In the top menu bar, click the Plus (+) icon. Then, from the drop-down menu, choose "Add Application."
STEP 2) >> Select The Server.
Select your server and then click "Add Application."
STEP 3) >> Configure Your Application.
a) From the drop-down menu, select "Custom PHP."
b) Give your application a name.
c) Choose your Project, if you have more than one.
STEP 4) >> Change Application Settings.
a) Change the Domain Name.
b) Install the SSL Certificate.
c) Click "Application Settings"
STEP 5) >> Disable "VARNISH".
*You must disable VARNISH in order to host a static website.
STEP 6) >> Create Credentials that allow you to access files through an FTP client.
a) Go to Access Details of your Applications.
b) click → ADD to create a new Username and Password for FTP.
STEP 7) >> Now using an FTP client access the static files.
Now that you have complete control over your PHP application, you may upload the files for your HTML or PHP static website.
So that brings us to the end of today's post; I hope you learned something new. And if you agree, please tell your friends about this post. Don't forget to read our most current blogs as well. Have a fantastic day!