My experience of hosting static website hosting on Siteground
My experience of hosting static website hosting on Siteground
It is been around 4 years ago I start my DevOps blog but along the way, I learned a lot about what goes behind hosting a website that receives thousands of users each day. I always wanted to document my journey but there is nothing much to share when your blog does not receive that much organic traffic. To put things into perspective I set a milestone of reaching 100k monthly users on my website and I reached that goal in February-2022 and now sitting on 130k monthly users.
In this blog post, I will be sharing all the findings, the good and the bad which I am faced along the way. Keeping my experience as transparent as I can.
So to start with if you wanna start a blog/website and you really wanna stand out then I would recommend 4 things
- A good domain name
- a Website hosting provider
- Niche for your blog/website (One of the most important aspects and you should be damn passionate about it)
- Framework for building a website - WordPress(if you are not tech-savvy) or Hugo, Jekyll static website generator
Note- This post is not for those who are looking for free website or subdomain hosting(blogspot.com or wordpress.com)
Table of Content
- How did I start with my website?
- Why did I choose a Static site instead of WordPress?
- Does siteground support hosting a Static website
- Speed performance and Core web vital score of my blog
- Other static website hosting alternative
- What do I recommend and expect from hosting service providers?
- Things you should know before you start working with Static Website
How did I start with my website?
I started by searching for a domain name and after a week ended up finding a domain name Jhooq(I always wanted a short domain name that is easy to remember). After finding the domain I purchased Google Domains. (Note - I recommend buying domain separately so that you have better control over domain DNS settings, do not fall into trap of a combo package where you get domain and hosting)
After buying the domain I started searching for a hosting service provider to host my website. After doing a bit of research I found Siteground to be suitable for my need. Although siteground does not offer anything free, so ended up buying StartUp Plan because I did not have that much traffic coming in on my website and the upper limit for traffic was 10,000 visits, so I went ahead with it.
Read the SiteGround hosting review if you are intrigued by this web host provider and see what it offers.
But later as my traffic grew I switched the plan and now using their GoGeek Plan because it has an upper limit of 400,000 visitors per month.
Why did I initially choose WordPress for my website?
As I was new and I did not want to put more effort into designing and developing the website because it would take a lot of my time rather than focusing on actually writing stuff. So if you are also looking for a quick website setup then I would recommend going with wordpress and as you move on you can start optimizing the look and feel of the website or even you can buy some premium themes of WordPress. (*Note- Currently Jhooq.com is not running on WordPress but instead it is built by Hugo. I will explain later in the post how I am running my static website on Siteground)
Go with WordPress hosting if you are not tech-savvy?
Siteground has really good support for WordPress Hosting. Their onboarding and initial setup of WordPress hosting are really easy and smooth. If you are not a tech-savvy person then I would recommend using the Siteground WordPress hosting option which will ease the pain of technicalities involved in the installation of the WordPress site and you can start publishing content pretty quickly.
Why did I choose a Static site instead of WordPress?
I have written a detailed article on Why I dumped WordPress and moved to Hugo. But if you are interested here are the key points which lead me to dump WordPress -
1. Website Speed and Performance - This is by far one of the prominent reasons I have dumped WordPress because when you run your website using WordPress then all the data is stored inside a database named MySQL. So when an end-user finds a URL of your website and he/she tries to access the page then data is being fetched from the database and then displayed on an HTML page using PHP.
2. Dependency on the Hosting provider is minimal- With a static website, you do not have to rely on the customer support of the hosting provider because you have complete control over your website.
- You can simply change the hosting provider at any point in time
- Migration will be very smooth and you do not have to worry about the database backup because you do not have any
- You can ZIP the backup of your website in a couple of hundred MBs.
3. Core Web Vitals- If you are following Google Search Engine or SEO guidelines then last year Google has release a new metric known as CWV(Core Web Vitals) which measures your website's LCP(Largest Contentful paint), FID(First Input Delay), CLS(Cummulative Layout shift).
Although all the WordPress theme providers actively working on fixing CVW(Core Web Vitals) if you are using the static website then it is already taken care and you do not have to do any additional optimization for your website.
4. No need for Paid Plugins - WordPress is heavily loaded with plugins, nowadays you will find a WordPress plugin for pretty much every task, and for some of the plugins you need to pay an extra or monthly subscription fee. But on the other hand, if you are using a static site then there is no concept of plugins and it can save some of your expenses towards the maintenance of your website.
Does siteground support hosting a Static website
Yes, siteground does support hosting a Static website. You have to be a little creative to host your static site with site ground.
If you are with Siteground or any hosting service provider you will always have cPanel(Control Panel) for your website. In the control panel, you have all the options for managing your site.
Here is the screenshot of my control panel -
Speed performance and Core web vital score of my blog
There are a lot of factors that goes behind the CVW(Core Web Vital) metrics and if you are lagging behind on CWV score then I would suggest making an audit and making some bullet point to target those tasks individually because there is no Silver Bullet to get good Core Web Vital score.
Back to the question what are my CWV(Core Web Vital) scores?
So here is the screenshot of my Google Search Console and it shows pretty good CWV(Core Web Vital) scores for Desktop as well as Mobile.
Mobile Core Web Vital Score
Desktop Core Web Vital Score
TIP - If you are heavily using WordPress plugins on your website then it will be really hard for you to get a good Core Web Vital score. To improve the CWV score Get rid of all unnecessary plugin and keep the plugin dependency as minimum as possible
What I did do to improve my Core Web vitals?
I did nothing pretty much all the static websites have very good CWV because static websites are very lightweight and it always has minimum code which ultimately gets you a really good CWV score.
Other static website hosting alternative
There are various static hosting providers in the market and here is the list of them -
- Netlify(Popular and has a free hosting option)
- Google Cloud Platform
- Amazon Web Service(AWS)
- GitHub Pages
Is it easy to host a static website?
Well hosting and managing a static website can be a little technical because you must have a reasonable understanding of -
- Github Repository
- Any of the Static Website generator frameworks (Hugo, Next.js, 11ty, Gatsby, NUXTJS, Jekyll)
- Markdown language syntax
I will not deep dive into the steps on how to develop and maintain the static site but on a high level, you should have a better understanding of the above tools. Note- In the future I will write a detailed post on how to use a static site generator and deploy it on either of the static hosting providers
All of the Static website generators use Jamstack architecture to make the web faster, more secure, and easier to scale.
What do I recommend and expect from hosting service providers?
I personally love Siteground because -
- They have really good customer support
- You can one to one 24x7 chat support
- There support staff knows the technicalities behind hosting
- Siteground provides a very intuitive Control Panel(cPanel) to manage your website
- They provide 12 hours cache to provide lightfast performance.
Cons of Siteground -
- You do not get anything for free, you have to purchase a plan based on your monthly traffic
- Siteground also provides CDN(Content Delivery Network) but it is an additional cost that you need to pay and I did not like their paid CDN feature
- Siteground has a free integration towards Cloudflare for better content delivery but the integration sucks
Other free options for hosting
The most popular option is Netlify and if you are just getting started with a Static website then I would recommend going for Netlify because -
- They do provide free hosting
- Netlify has native support for the static website based on Jamstack architecture
- Netlify has really good documentation and community support
Cons of Netlify -
- For the free plan you do not get any support from netlify
- Netlify provides mail support for the paid plan but their support is still limited to mail, if you are in urgent need of support then you have to keep patience because they do not have chat support.
- Netlify can be a little overwhelming if you are new to website development.
Things you should know before you start working with Static Website
At last, what are the tools you need to learn if you really wanna migrate your website from WordPress to a static site generator -
- Markdown Syntax
- Any of the Jamstack Framework (Hugo, Next.js, 11ty, Gatsby, NUXTJS, Jekyll)
- GitHub for versioning
You do not have to be an expert on the above tech stack but you should be comfortable enough to use those tools so that you can handle initial integration with the hosting provider. Once your integration is successful then you can concentrate on your content.
Hosting a static website can bring a lot of challenges at first but if you have really good support from the hosting provider then it could be really easy for you to troubleshoot and manage the website. I like siteground because of the customer support although I have to pay a decent amount annually for their services. But if you have long time vision to grow your website then I would recommend investing in good hosting providers such as Siteground, Netlify, Google Cloud, and AWS. Hope this article will help you to make your decision on choosing the hosting service provider for your website.
Read More -