Step 1: Create a Coming Soon Page HTML Template
First, you need to create a well-designed, modern, and slick Coming Soon page HTML template. You can use various online templates or code it from scratch by yourself. Below is a simple Coming Soon page for you to use:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Leo's Coming Soon Page</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f1f1f1;
text-align: center;
}
h1 {
font-size: 48px;
color: #444;
margin-top: 100px;
}
p {
font-size: 24px;
color: #666;
}
</style>
</head>
<body>
<h1>Leo's Exclusive Launch</h1>
<p>Our website is coming soon. Stay tuned!</p>
</body>
</html>
Save this code as index.html.
Step 2: Upload the HTML File to Cloud Storage
Next, you need to upload the index.html file to a cloud storage service that allows hosting static websites for free. In this example, we will use GitHub Pages.
- Sign up or log in to your GitHub account.
- Create a new repository. Name it
leo-kritica-xyz and initialize it with a README.
- In your repository, click "Upload files" and upload your
index.html file.
- Go to the repository settings.
- Scroll down to the "GitHub Pages" section and select "master" as the source branch for GitHub Pages.
Now, your Coming Soon page is hosted on: https://yourusername.github.io/leo-kritica-xyz/
Step 3: Set up a Custom Domain and Cloudflare Integration
Since you want to use your custom domain 'leo.kritica.xyz,' you need to configure DNS settings and point it to GitHub Pages.
-
Go to your Cloudflare account and access your domain's DNS settings.
-
Delete any existing A or CNAME records for 'leo.kritica.xyz'.
-
Create a new CNAME record with the following settings:
- Name:
leo
- Domain:
yourusername.github.io
- TTL: Auto
- Proxy status: DNS only
-
Go to your GitHub repository settings, scroll down to the GitHub Pages section, and add leo.kritica.xyz as a custom domain.
-
Wait for the DNS changes to propagate (it may take a few minutes to a few hours).
Now, your Coming Soon page should be accessible at http://leo.kritica.xyz.
Step 4: Set up SSL for HTTPS Using Cloudflare
- Go to your Cloudflare dashboard and click on the SSL/TLS tab.
- Under the SSL/TLS tab, set the SSL Mode to "Flexible".
- Click on the "Edge Certificates" tab, scroll down to the "Always Use HTTPS" section and enable "Always Use HTTPS".
- Wait for a few minutes for the changes to take effect.
Now, your Coming Soon page should be accessible using HTTPS at https://leo.kritica.xyz.
By following these steps, you have successfully hosted your Coming Soon page on a custom domain in the cloud using Cloudflare, GitHub Pages, and SSL for HTTPS.