Improving Core Web Vitals, A Smashing Magazine Case Study

“Why are my Core Web Vitals failing?” Many developers have been asking themselves that question lately. Sometimes it’s easy enough to find the answer to that question and the site just needs to invest in performance. Sometimes though, it’s a little trickier and, despite thinking your site was great on the performance for some reason it still fails. That’s what happened to our very own smashingmagazine.com and figuring out, and fixing, the issue took a bit of digging.

A Cry For Help

It all started with a series of tweets last March with a cry for help:

Well, this piqued my interest! I’m a big fan of Smashing Magazine and am very interested in web performance and the Core Web Vitals. I’ve written a few articles here before on Core Web Vitals, and am always interested to see what’s in their annual Web Performance Checklist. So, Smashing Magazine knows about web performance, and if they were struggling, then this could be an interesting test case to look at!

A few of us made some suggestions on that thread as to what the problem might be after using some of our favorite web performance analysis tools like WebPageTest or PageSpeed Insights.

Investigating The LCP Issue

The issue was that LCP was too slow on mobile. LCP, or Largest Contentful Paint, is one of the three Core Web Vitals that you must “pass” to get the full search ranking boost from Google as part of their Page Experience Update. As its name suggests, LCP aims to measure when the largest content of the page is drawn (or “painted”) to the screen. Often this is the hero image or the title text. It is intended to measure what the site visitor likely came here to see.

Previous metrics measured variations of the first paint to screen (often this was a header or background color); incidental content that isn’t really what the user actually wants to get out of the page. The largest content is often a good indicator or what’s most important. And the “contentful” part of the name shows this metric is intended to ignore (e.g. background colors); they may be the largest content, but they are not “contentful”, so don’t count for LCP and instead the algorithm tries to find something better.

LCP only looks at the initial viewport. As soon as you scroll down or otherwise interact with the page the LCP element is fixed and we can calculate how long it took to draw that element from when the page first started loading — and that’s your LCP!

There are many ways of measuring your Core Web Vitals, but the definitive way — even if it’s not the best way, as we’ll see soon — is in Google Search Console (GSC). From an SEO perspective, it doesn’t really matter what other tools tell you, GSC is what Google Search sees. Of course, it matters what your users experience rather than what some search engine crawler sees, but one of the great things about the Core Web Vitals initiative is that it does measure real user experience rather than what Google Bot sees! So, if GSC says you have bad experiences, then you do have bad experiences according to your users.

Search Console told Smashing Magazine that their LCP on mobile for most of their pages needed improving. A standard enough output of that part of GSC and pretty easily addressed: just make your LCP element draw faster! This shouldn’t take too long. Certainly not six months (or so we thought). So, first up is finding out what the LCP element is.

Running a failing article page through WebPageTest highlighted the LCP element:

Improving The LCP Image

OK, so the article author photo is the LCP element. The first instinct is to ask what could we do to make that faster? This involves delving into waterfalls, seeing when the image is requested, how long it takes to download, and then deciding how to optimize that. Here, the image was well optimized in terms of size and format (usually the first, and easiest option for improving the performance of images!). The image was served from a separate assets domain (often bad for performance), but it wasn’t going to be possible to change that in the short term, and Smashing Magazine had already added a preconnect resource hint to speed that up as best they could.

As I mentioned before, Smashing Magazine knows about web performance, had only recently worked on improving their performance, and had done everything right here, but still were failing. Interesting…

Other suggestions rolled in, including reducing load, delaying the service worker (to avoid contention), or investigating HTTP/2 priorities, but they didn’t have the necessary impact on the LCP timing. So we had to reach into our web performance toolbag for all the tips and tricks to see what else we could do here.

If a resource is critical to the page load, you can inline it, so it’s included in the HTML itself. That way, the page includes everything necessary to do the initial paint without delays. For example, Smashing Magazine already inlines critical CSS to allow a quick first paint but did not inline the author's image. Inlining is a double-edged sword and must be used with caution. It beefs up the page and means subsequent page views do not benefit from the fact that data is already downloaded. I’m not a fan of over-inlining because of this and think it must be used with caution.

So, it’s not normally recommended to inline images. However, here the image was causing us real problems, was reasonably small, and was directly linked to the page. Yes, if you read a lot of articles by that one author it’s a waste to redownload the same image multiple times instead of downloading the author's image once and reusing it, but in all likelihood, you’re here to read different articles by different authors.

There have been a few advances in image formats recently, but AVIF is causing a stir as it’s here already (at least in Chrome and Firefox), and it has impressive compression results over the old JPEG formats traditionally used for photographs. Vitality didn’t want to inline the JPEG version of the author images, but investigated whether inlining the AVIF version would work. Compressing the author image using AVIF, and then base64-ing the image into the HTML led to a 3 KB increase to the HTML page weight — which is tiny and so was acceptable.

Since AVIF was only supported in Chrome at the time (it came to Firefox after all this), and since Core Web Vitals is a Google initiative, it did feel slightly “icky” optimizing for a Google browser because of a Google edict. Chrome is often at the forefront of new feature support and that’s to be commended, but it always feels a little off when those two sides of its business impact each other. Still, this was a new standard image format rather than some proprietary Chrome-only format (even if it was only supported in Chrome initially), and was a progressive enhancement for performance (Safari users still get the same content, just not quite as fast), so with the addition of the AVIF twist Smashing took the suggestion and inlined the image and did indeed see impressive results in lab tools. Problem solved!

An Alternative LCP

So, we let that bed in and waited the usual 28 days or so for the Core Web Vitals numbers to all turn green… but they didn’t. They flitted between green and amber so we’d certainly improved things, but hadn’t solved the issue completely. After staying a long stretch in the amber “needs improvement” section, Vitaly reached out to see if there were any other ideas.

The image was drawing quickly. Not quite instantly (it still takes time to process an image after all) but as near as it could be. To be honest, I was running out of ideas but took another look with fresh eyes. And then an alternative idea struck me — were we optimizing the right LCP element? Authors are important of course, but is that really what the reader came here to see? Much as our egos would like to say yes, and that our beautiful shining mugs are much more important than the content we write, the readers probably don’t think that (readers, huh — what can you do!).

The reader came for the article, not the author. So the LCP element should reflect that, which might also solve the LCP image drawing issue. To do that we just put the headline above the author image, and increased the font size on mobile a bit. This may sound like a sneaky trick to fool the Core Web Vital SEO Gods at the expense of the users, but in this case, it helps both! Although many sites do try to go for the quick and easy hack or optimize for GoogleBot over real users, this was not a case of that and we were quite comfortable with the decision here. In fact, further tweaks remove the author image completely on mobile view, where there’s limited space and that article currently looks like this on mobile, with the LCP element highlighted:

Here we show the title, the key information about the article and the start of the summary — much more useful to the user, than taking up all the precious mobile screen space with a big photo!

And that’s one of the main things I like about the Core Web Vitals: they are measuring user experience.

To improve the metrics, you have to improve the experience.

And NOW we were finally done. Text draws much quicker than images so that should sort out the LCP issue. Thank you all very much and good night!

I Hate That CWV Graph In Google Search Console…

Again we were disappointed. That didn’t solve the issue and it wasn’t long before the Google Search Console graph returned to amber:

At this point, we should talk a little more about page groupings and Core Web Vitals. You might have noticed from the above graph that pretty much the whole graph swings at once. But there was also a core group of about 1,000 pages that stayed green most of the time. Why is that?

Well, Google Search Console categorizes pages into page groupings and measures the Core Web Vitals metrics of those page groupings. This is an attempt to fill in missing data for those pages that don’t get enough traffic to have meaningful user experience data. There’s a number of ways that they could have tackled this: they could have just not given any ranking boost to such pages, or maybe assumed the best and given a full boost to pages without any data. Or they could have fallen back to origin-level core web vitals data. Instead, they tried to do something more clever, which was an attempt to be helpful, but is in many ways also more confusing: Page groupings.

Basically, every page is assigned a page grouping. How they do this isn’t made clear, but URLs and technologies used on the page have been mentioned before. You also can’t see what groupings Google has chosen for each of your pages, and if their algorithm got it right, which is another frustrating thing for website owners, though they do give sample URLs for each different Core Web Vitals score below the graph in Google Search Console from which the grouping can sometimes be implied.

Page groupings can work well for sites like Smashing Magazine. For other sites, page groupings may be less clear, and many sites may just have one grouping. The Smashing site, however, has several different types of pages: articles, author pages, guides, and so on. If an article page is slow because the author image is the LCP image is slow to load, then that will likely be the case for all article pages. And the fix will likely be the same for all article pages. So grouping them together there makes sense (assuming Google can accurately figure out the page groupings).

However, where it can get confusing is when a page does get enough visitors to get its own Core Web Vitals score and it passes, but it’s lumped in with a failing group. You can call the CrUX API for all the pages in your site, see most of them are passing, then be confused when those same pages are showing as failing in Search Console because they’ve been lumped in a group with failing URLs and most of the traffic for that group is for failing. I still wonder if Search Console should use page-level Core Web Vital data when it has, rather than always using the grouping data.

Anyway, that accounts for the large swings. Basically, all the articles (of which there are about 3,000) appear to be in the same page grouping (not unreasonably!) and that page grouping is either passing or failing. When it switches, the graph moves dramatically.

You can also get more detailed data on the Core Web Vitals through the CrUX API. This is available at an origin-level (i.e. for the whole site), or for individual URLs (where enough data exists), but annoyingly not at the page grouping level. I’d been tracking the origin level LCP using the CrUX API to get a more precise measure of the LCP and it showed a depressing story too:

We can see we’ve never really “solved” the issue and the amount of “Good” pages (the green line above) still hovered too close to the 75% pass rate. Additionally the p75 LCP score (the dotted line which uses the right-hand axis) never really moved far enough away from the 2500 milliseconds threshold. It was no wonder the pages passing and failing were flipping back and forth. A bit of a bad day, with a few more slow page loads, was enough to flip the whole page grouping into the “needs improvement” category. We needed something more to give us some headroom to be able to absorb these “bad days”.

At this point, it was tempting to optimize further. We know the article title was the LCP element so what could we do to further improve that? Well, it uses a font, and fonts have always been a bane of web performance so we could look into that.

But hold up a minute. Smashing Magazine WAS a fast site. Running it through web performance tools like Lighthouse and WebPageTest showed that — even on slower network speeds. And it was doing everything right! It was built as a static site generator so didn’t require any server-side generation to occur, it inlined everything for the initial paint so there were no resource loading constraints other than the HTML itself, it was hosted by Netlify on a CDN so should be near its users.

Sure, we could look at removing the font, but if Smashing Magazine couldn’t deliver a fast experience given all that, then how could anyone else? Passing Core Web Vitals shouldn’t be impossible, nor require you to only be on a plain site with no fonts or images. Something else was up here and it was time to find out a bit more about what was going on instead of just blindly attempting another round of optimizations.

Digging A Little Deeper Into The Metrics

Smashing Magazine didn’t have a RUM solution so instead we delved into the Chrome User Experience Report (CrUX) data that Google collects for the top 8 million or so websites and then makes that data available to query in various forms. It’s this CrUX data that drives the Google Search Console data and ultimately the ranking impact. We’d already been using the CrUX API above but decided to delve into other CrUX resources.

We used the sitemap and a Google Sheets script to look at all the CrUX data for the whole site where it was available (Fabian Krumbholz has since created a much more comprehensive tool to make this easier!) and it showed mixed results for pages. Some pages passed, while others, particularly older pages, were failing.

The CrUX dashboard didn’t really tell us much that we didn’t already know in this instance: the LCP was borderline, and unfortunately not trending down:

Digging into the other stats (TTFB, First Paint, Online, DOMContentLoaded) didn’t give us any hints. There was, however, a noticeable increase in mobile usage:

Was this part of a general trend in mobile adoption? Could that be what was affecting the mobile LCP despite the improvements we’d done? We had questions but no answers or solutions.

One thing I wanted to look at was the global distribution of the traffic. We’d noticed in Google Analytics a lot of traffic from India to old articles — could that be an issue?

The India Connection

Country-level CrUX data isn’t available in the CrUX dashboard but is available in the BigQuery CrUX dataset, and running a query in there at the www.smashingmagazine.com origin level shows a wide disparity in LCP values (the SQL is included on the second tab of that link btw in case you want to try the same thing on your own domain). Based on the top 10 countries in Google Analytics we have the following data:

Country Mobile p75 LCP value % of traffic
United States 88.34% 23%
India 74.48% 16%
United Kingdom 92.07% 6%
Canada 93.75% 4%
Germany 93.01% 3%
Philippines 57.21% 3%
Australia 85.88% 3%
France 88.53% 2%
Pakistan 56.32% 2%
Russia 77.27% 2%

India traffic is a big proportion for Smashing Magazine (16%) and it is not meeting the target for LCP at an origin level. That could be the problem and certainly was worth investigating further. There was also the Philippines and Pakistan data with very bad scores but that was a relatively small amount of traffic.

At this point, I had an inkling what might be going on here, and a potential solution so got Smashing Magazine to install the web-vitals library to collect RUM data and post it back to Google Analytics for analysis. After a few days of collecting, we used the Web Vitals Report to give us a lot at the data in ways we hadn’t been able to see before, in particular, the country-level breakdown:

And there it was. All the top countries in the analytics did have very good LCP scores, except one: India. Smashing Magazine uses Netlify which is a global CDN and it does have a Mumbai presence, so it should be as performant as other countries, but some countries are just slower than others (more on this later).

However, the mobile traffic for India was only just outside the 2500 limit, and it was only the second most visited country. Surely the good USA scores should have been enough to offset that? Well, the above two graphs show the countries order by traffic. But CrUX counts mobile and desktop traffic separately (and tablet btw, but no one ever seems to care about that!). What happens if we filter the traffic to just mobile traffic? And one step further — just mobile Chrome traffic (since only Chrome feeds CrUX and so only Chrome counts towards CWV)? Well then we get a much more interesting picture:

Country Mobile p75 LCP value % of mobile traffic
India 74.48% 31%
United States 88.34% 13%
Philippines 57.21% 8%
United Kingdom 92.07% 4%
Canada 93.75% 3%
Germany 93.01% 3%
Nigeria 37.45% 2%
Pakistan 56.32% 2%
Australia 85.88% 2%
Indonesia 75.34% 2%

India is actually the top mobile Chrome visitor, by quite some way — nearly triple the next highest visitor (USA)! The Philippines, with its poor score has also shot up there to the number three spot, and Nigeria and Pakistan with their poor scores are also registering in the top 10. Now the bad overall LCP scores on mobile were starting to make sense.

While the mobile has overtaken desktop as the most popular way to access the Internet in the, so-called, Western world, there still is a fair mix of mobile and desktop here — often tied to our working hours where many of us are sat in front of a desktop. The next billion users may not be the same, and mobile plays a much bigger part in those countries. The above stats show this is even true for sites like Smashing Magazine that you might consider would get more traffic from designers and developers sitting in front of desktops while designing and developing!

Additionally because CrUX only measures from Chrome users, that means countries with more iPhones (like the USA) will have a much smaller proportion of their mobile users represented in CrUX and so in Core Web Vitals, so additionally amplifying the effect of those countries.

Core Web Vitals Are Global

Core Web Vitals don’t have a different threshold per country, and it doesn’t matter if your site is visited by different countries — it simply registers all Chrome users the same. Google has confirmed this before, so Smashing Magazine will not get the ranking boost for the good USA scores, and not get it for the India users. Instead, all users go into the melting pot, and if the score for those page groupings do not meet the threshold, then the ranking signal for all users is affected.

Unfortunately, the world is not an even place. And web performance does vary hugely by country, and shows a clear divide between richer and poorer countries. Technology costs money, and many countries are more focused on getting their populations online at all, rather than on continually upgrading infrastructure to the latest and greatest tech.

The lack of other browsers (like Firefox or iPhones) in CrUX has always been known, but we’ve always considered it more of a blind spot for measuring Firefox or iPhone performance. This example shows the impact is much bigger, and for sites with global traffic, it skews the results significantly in favor of Chrome users, which often means poor countries, which often means worse connectivity.

Should Core Web Vitals Be Split By Country?

On the one hand, it seems unfair to hold websites to the same standard if the infrastructure varies so much. Why should Smashing Magazine be penalized or held to a higher standard than a similar website that is only read by designers and developers from the Western world? Should Smashing Magazine block Indian users to keep the Core Web Vitals happy (I want to be quite clear here that this never came up in discussion, so please do take this as the author making the point and not a sleight on Smashing!).

On the other hand, “giving up” on some countries by accepting their slowness risks permanently relegating them to the lower tier many of them are in. It’s hardly the average Indian reader of Smashing Magazine’s fault that their infrastructure is slower and in many ways, these are the people that deserve more highlighting and effort, rather than less!

And it’s not just a rich country versus poor country debate. Let’s take the example of a French website which is aimed at readers in France, funded by advertising or sales from France, and has a fast website in that country. However, if the site is read by a lot of French Canadians, but suffers because the company does not use a global CDN, then should that company suffer in French Google Search because it’s not as fast to those Canadian users? Should the company be “held to ransom” by the threat of Core Web Vitals and have to invest in the global CDN to keep those Canadian readers, and so Google happy?

Well, if a significant enough proportion of your viewers are suffering then that’s exactly what the Core Web Vital’s initiative is supposed to surface. Still, it’s an interesting moral dilemma which is a side effect of the Core Web Vitals initiative being linked to SEO ranking boost: money always changes things!

One idea could be to keep the limits the same, but measure them per country. The French Google Search site could give a ranking boost to those users in French (because those users pass CWV for this site), while Google Search Canada might not (because they fail). That would level the playing field and measure sites to each country, even if the targets are the same.

Similarly, Smashing Magazine could rank well in the USA and other countries where they pass, but be ranked against other Indian sites (where the fact they are in the “needs improvement” segment might actually still be better than a lot of sites there, assuming they all suffer the same performance constraints).

Sadly, I think that would have a negative effect, with some countries again being ignored while sites only justify web performance investment for more lucrative countries. Plus, as this example already illustrates, the Core Web Vitals are already complicated enough without bringing nearly 200 additional dimensions into play by having one for every country in the world!

So How To Fix It?

So we now finally knew why Smashing Magazine was struggling to pass Core Web Vitals but what, if anything, could be done about it? The hosting provider (Netlify) already has the Mumbai CDN, which should therefore provide a fast access for Indian users, so was this a Netlify problem to improve that? We had optimized the site as much as possible so was this just something they were going to have to live with? Well no, we now return to our idea from earlier: optimizing the web fonts a bit more.

We could take the drastic option of not delivering fonts at all. Or perhaps not delivering fonts to certain locations (though that would be more complicated, given the SSG nature of Smashing Magazine’s website). Alternatively, we could wait and load fonts in the front end, based on certain criteria, but that risked slowing down fonts for others while we assessed that criteria. If only there was some easy-to-use browser signal for when we should take this drastic action. Something like the SaveData header, which is intended exactly for this!

SaveData And prefers-reduced-data

SaveData is a setting that users can turn on in their browser when they really want to… well save data. This can be useful for people on restricted data plans, for those traveling with expensive roaming charges, or for those in countries where the infrastructure isn’t quite as fast as we’d like.

Users can turn on this setting in browsers that support it, and then websites can then use this information to optimize their sites even more than usual. Perhaps returning lower quality images (or turning images off completely!), or not using fonts. And the best thing about this setting is that you are acting upon the user's request, and not arbitrarily making a decision for them (many Indian users might have fast access and not want a restricted version of the website!).

The Save Data information is available in two (soon to be three!) ways:

  1. A SaveData header is sent on each HTTP request. This allows dynamic backends to change the HTML returned.
  2. The NetworkInformation.saveData JavaScript API. This allows front-end scripts to check this and act accordingly.
  3. The upcoming prefers-reduced-data media query, allowing CSS to set different options depending on this setting. This is available behind a flag in Chrome, but not yet on by default while it finishes standardization.

So the question is, do many of the Smashing Magazine readers (and particularly those in the countries struggling with Core Web Vitals) use this option and is this something we can therefore use to serve them a faster site? Well, when we added the web-vitals script mentioned above, we also decided to measure that, as well as the Effective Connection Type. You can see the full script here. After a bit of time allowing it to collect we could display the results in a simple /Google Analytics dashboard, along with the Chrome browser version:

So, the good news was that a large proportion of mobile Indian users (about two-thirds) did have this setting set. The ECT was less useful with most showing as 4g. I’ve argued before that this API has gotten less and less useful as most users are classified under this 4g setting. Plus using this value effectively for initial loads is fraught with issues.

More good news as most users seem to be on an up-to-date Chrome so would benefit from newer features like the prefers-reduced-data media query when it becomes fully available.

Ilya from the Smashing team applied the JavaScript API version to their font-loader script so additional fonts are not loaded for these users. The Smashing folks also applied the prefers-reduce-data media query to their CSS so fallback fonts are used rather than custom web fonts for the initial render, but this will not be taking effect for most users until that setting moves out of the experimental stage.

I Love That Graph In Google Search Console

And did it work? Well, we’ll let Google Search Console tell that store as it showed us the good news a couple of weeks later:

Additionally, since this was introduced in mid-November, the original level LCP score has steadily ticked downwards:

There’s still not nearly enough headroom to make me comfortable, but I’m hopeful that this will be enough for now, and will only improve when the prefers-reduced-data media query comes into play — hopefully soon.

Of course, a surge in traffic from mobile users with bad connectivity could easily be enough to flip the site back into the amber category, which is why you want that headroom, so I’m sure the Smashing team will be keeping a close eye on their Google Search Console graph for a bit longer, but I feel we’ve made the best efforts basis to improve the experience of users so I am hopeful it will be enough.

Impact Of The User Experience Ranking Factor

The User Experience ranking factor is supposed to be a small differentiator at the moment, and maybe we worried too much about a small issue that is, in many ways outside of our control? If Smashing Magazine is borderline, and the impact is small, then maybe the team should worry about other issues instead of obsessing over this one? But I can understand that and, as I said, Smashing Magazine are knowledgeable in performance and so understand why they wanted to solve — or at the very least understand! — this issue.

So, was there any impact? Interestingly we did see a large uptick in search impression in the last week at the same time as it flipped to green:

It’s since reverted back to normal, so this may have been an unrelated blip but interesting nonetheless!

Conclusions

So, an interesting case study with a few important points to take away:

  • When RUM (including CrUX or Google Search Console) tells you there’s a problem, there probably is! It’s all too easy to try to compare your experiences and then blame the metric.
  • Implementing your own RUM solution gives you access to much more valuable data than the high-level data CrUX is intended to provide, which can help you drill down into issues, plus also give you potentially more information about the devices your site visitors are using to visit your site.
  • Core Web Vitals are global, and that causes some interesting challenges for global sites like Smashing Magazine. This can make it difficult to understand CrUX numbers unless you have a RUM solution and perhaps Google Search Console or CrUX could help surface this information more?
  • Chrome usage also varies throughout the world, and on mobile is biased towards poorer countries where more expensive iPhones are less prevalent.
  • Core Web Vitals are getting much better at measuring User Experience. But that doesn’t mean every user has to get the same user experience — especially if they are telling you (through things like the Save Data option) that they would actually prefer a different experience.

I hope that this case study helps others in a similar situation, who are struggling to understand their Core Web Vitals. And I hope you can use the information here to make the experience better for your website visitors.

Happy optimizing!

Note: It should be noted that Vitaly, Ilya and others at the Smashing team did all the work here, and a lot more performance improvements were not covered in the above article. I just answered a few queries for them on this specific problem over the last 6 months and then suggested this article might make an interesting case study for other readers to learn from.

Shared Web Hosting Benefits: Is It Right for You? Complete Guide

Shared hosting is a popular choice when it comes to hosting websites. This article examines everything you need to know to determine if shared hosting is right for you.

We’ll take a look at what exactly shared hosting is, how it works, its advantages and disadvantages, and check out some shared hosting providers.

illustration showing advantages and disadvantages of shared hosting.
You’ll learn all about the advantages — and some disadvantages — of shared hosting.

This article isn’t meant to persuade you to switch to shared hosting; however, it will offer you insight about it that you can use to make a logical decision when it comes to hosting. That way, you can know all the benefits, limitations, costs, and more, so you’ll have a clear-headed idea of if shared hosting is right for you.

We’ll be going over:

And with that, let’s kick things off with…

What is Shared Hosting

Shared hosting is website hosting that divides webserver resources between multiple domains that share a physical web server and its resources among the hosted websites. It can also be referred to as virtual shared hosting.

Users can host a website with other domains and share the server resources, which comes with a lower cost and the exact address IP as other domains from other users.

They (users) get a section of a server shared with hundreds of users. Everyone using the shared hosting has access to features, such as disk space, FTP accounts, monthly traffic, and additional add-ons offered by the host.

The system resources are shared on-demand by users that are on the server.

Who Should Use Shared Hosting?

Shared hosting is best for small websites, blogs, and low-traffic websites that do not require advanced configurations or high bandwidth. It’s also good for websites that do not need a great degree of reliability and can manage with some downtime as a result of things happening on the server (we’ll be going over that later).

Packages for shared hosting are typically minimum for features and support, but a lot of time, users can upgrade for additional costs.

Often, shared hosting is all that is required for small websites. However, if a website grows and starts developing more traffic, an upgrade to managed or dedicated server hosting is often needed.

As we touched on, shared hosting can work perfectly for budget-conscious new site owners and anyone with small, low-traffic sites due to all the benefits (that we’ll be discussing in detail later in this article).

How Does it Work?

We also mentioned this earlier, but shared hosting is where a single server hosts numerous sites. As for multiple locations, that can range from several hundred to thousands. It depends on the available hard drive space, processing speed, and RAM.

The hosting is provided by a machine the same as a dedicated server; however, numerous clients implement its resources.

What shared hosting looks like
This is shared hosting in a nutshell.

Separate portions of the server contain the user account’s files and applications. Each has its file directory tree, and users don’t have access to either the root or other files.

As you’ll see, there are many…

Shared Hosting Benefits/Advantages

Image of a pair of people holding a hosting sign.
There’s a lot of goodies that shared hosting offers.

You’ve probably already compiled some thoughts and ideas on why shared hosting may be beneficial. That being said, there are a lot of advantages to taking a look at in further detail.

So, let’s check them out.

1. Cost-Effectiveness

A significant reason to use shared hosting is that it’s very affordable. It’s the most cost-effective solution since many people contribute to the server’s costs, and the hosting company’s costs are distributed amongst them.

You can get a site hosted for as cheap as a couple of dollars per month, depending on your hosting provider and terms.

2. Flexibility

If you have a new or small website, you can start with shared hosting and upgrade without major obstacles as your site grows.

3. No Bandwidth Limitations

Whatever web hosting provider you have, they typically will provide you unlimited bandwidth for your website per month. However, be sure not to overload the server, or your account can be suspended.

There are also situations where if you use a lot of bandwidth and it affects the other domains, your hosting provider may indicate to you that you have to upgrade your account. However, it’s pretty uncommon.

4. Easy to Self-Manage without Technical Expertise

It’s straightforward to set up shared hosting. There are a lot of providers that offer a control panel for website management. Unlike VPS or dedicated servers, it’s simple to add FTP users, compress folders, change passwords, and more.

There are no expensive tools or complicated configurations to figure out.

5. Host Multiple Domains

For the option of hosting multiple domains, shared hosting has you covered. Most web hosts allow hosting multiple websites. That being said, there can be limitations, such as just allowing several domains per account. But, some may not have any restrictions unless your account gets tons of traffic.

6. Professionally Managed

When it comes to low maintenance, shared hosting fits the bill. Your hosting provider takes care of your server by ensuring basic server administrative tasks are functioning correctly. You should expect to have professional technical support for everything, including DDoS attacks, network outages, maintenance, and more.

7. Ability to Host Dynamic Websites

When you have a website that looks different according to who is browsing (e.g. Facebook), that is known as dynamic. CMSs and dynamic sites use programming languages (e.g. PHP), which can all be run on a shared server.

8. Built-in cPanel

Thanks to cPanel, you’re able to manage your web hosting tasks. With shared hosting, a built-in cPanel can ease control, simplifying setting up emails, databases, addon domains, and more.

9. Easy Email Hosting and Setup

It’s vital to have an email associated with your domain these days. With shared hosting, having a cPanel on an affordable hosting plan allows you to add email addresses easily. Plus, you can forward emails to other services (e.g. Gmail). Many shared hosting services offer unlimited emails accounts.

Shared Hosting Disadvantages

A couple grappling at a hosting sign.
Anytime you share something, there can be some disadvantages…

Like anything, there are advantages – and disadvantages. That goes for shared hosting, too.

Here’s a look at some less desirable parts of shared hosting.

1. Security Issues

Unfortunately, shared hosting can be the most vulnerable type of hosting due to the fact hackers can use one domain to access the whole server – along with all of the other sites hosted on it.

Web hosts want the maximum number of domains hosted on a single server and often overlook security measures.

However, some web hosts mention that they implement domain isolation to prevent other domains from being affected if a particular site is hacked. And a lot of shared hosting companies step up their security more than others.

2. Speed

One of the major issues of shared hosting is speed. It’s due to many users sharing the server resources, RAM, and CPU – which can slow things down. Plus, if there’s a popular website on the server, it will affect all of the other sites due to the server resources and singular IP address.

This will vary with web hosts but be prepared for a slower site. However, this may not be a huge factor if you don’t get a lot of visitors or have a personal website where you don’t care much about speed.

3. Server Crashes

A common issue with shared hosting is server crashes. This occurs when sites use excessive CPU and RAM.

The more significant point is that hosting companies often aren’t quick to resolve the issue. It’s a common occurrence for them and not a high priority.

Of course, some good hosting providers do fix the problem and even ban a website that uses all the server resources. If a hosting provider has reviews or good customer support for issues like this, it maybe is worth using them compared with a hosting provider that doesn’t resolve the issue quickly.

4. Fixing Problems Can Take Longer

This corresponds with server crashes because, as mentioned above, problems sometimes aren’t quick to be determined, making it frustrating for anyone that cares about uptime.

Things can take a while to settle, even if a hosting company has the staff to fix downtime or any issues.

Again, be sure to look at reviews for the hosting company and determine for yourself if the company is good at fixing problems promptly. (And, the hosting companies we will be mentioning in this article all have good support, so keep that in mind.)

When Not to Use Shared Hosting

As discussed, shared hosting uses a common server amongst many websites. The result is that shared hosting is set up to let popular frameworks (e.g. WordPress) run flawlessly with basic configurations.

So, if you want to use a custom site framework that’s not currently installed on the server, or are looking to optimize server resources for specific website tasks, shared hosting might not be suitable for you. You’d be better off with dedicated or VPS hosting since they’ll allow for more customization.

If you need root access to install software or configure, it’s probably best not to use shared hosting since you’re very limited beyond anything basic.

Shared Hosting Providers

Now that you know all about the benefits, disadvantages, and how shared hosting works, you may decide it’s right for you. Here are some recommendations for shared hosting providers.

These companies come with a solid reputation, support and are well established. There are links to each plan, so please refer to those for more information and pricing.

Also, please note that we have no relationship with these companies beyond thinking they offer a solid product. We do not — and will not — post affiliate links here at WPMU DEV (which makes us kinda unique!).

If you’d like to share an opinion or ask a question about either our view on shared hosting or these providers, please do so in the comments at the end of the article.

HostGator

HostGator logo
HostGator is one of the most popular shared hosting providers out there.

HostGator is a popular and well-known shared hosting company.

Along with shared hosting, it offers WordPress, VPS, and dedicated hosting – which is great if your site becomes too big. Additionally, there are Linux-based shared hosting packages.

Its shared hosting has month-to-month plans and also has longer terms available. Their rich shared hosting packages include unlimited storage, monthly databases with plenty of growth opportunities, and email.

A big benefit of hosting with HostGator is their 24/7 customer support and reliability. If issues arise, they’re quick to fix the problem.

HostGator is a top-notch option for shared hosting, with a solid reputation for quality and reliable service at affordable prices. It’s highly recommended for shared hosting by numerous reviews and websites.

GoDaddy

GoDaddy logo
GoDaddy is no stranger to shared hosting.

GoDaddy is one of the cheapest options when it comes to shared hosting. It has a decent range of Linux-based shared web servers, plus it will include a free domain name if you sign up for a commitment that surpasses 12 months.

Also, you can always upgrade to VPS or dedicated hosting, if your site starts to surpass what’s passable with shared hosting.

GoDaddy includes great uptime (rarely goes down), useful website-building tools, and options for servers. Plus, their 24/7 support is beneficial if anything goes wrong.

They also have a solid reputation and has been in business for a while. It’s a good option for starting with shared hosting with upgrading in the future.

Domain.com

domain.com logo.
Domain.com offers more than domains with their shared hosting packages.

Domain.com is known more for their domains. They have shared hosting as well for an affordable price. Their various plans are determined by how many sites you have and all feature unlimited storage.

They include some free perks, such as an SSL Certificate, and a free domain. Along with that, they have 24/7 network monitoring and DDoS protection.

Their customer-friendly control panel makes it easy to use. And if you ever have questions or issues, you can always contact their support.

Hostinger

Hostinger logo.
Hostinger is a great low-cost option for shared hosting.

Hostinger offers some low-cost plans, 24/7 customer service, and their uptime is fantastic. They have three Linux-powered shared web hosting plans, with low cost – but a high commitment for those low costs (one-year to four-year).

They also have WordPress, VPS, and Linux Servers hosting, so you can always upgrade if needed.

A few cons are the lack of dedicated hosting, and not every plan has a Windows option. Plus, though there is 24/7 support, that doesn’t include phone support, which might inconvenience some users.

All this being said, Hostinger has a solid reputation for shared hosting. It can be extremely affordable, just be prepared to make a commitment.

DreamHost

DreamHost logo.
DreamHost can be a dream come true (sorry!) with their shared hosting.

DreamHost is another great option when it comes to affordable shared hosting. It’s geared more towards beginners, considering the tools that make it extremely easy to get up-and-running, support, and a one-click installation feature.

They have two shared hosting plans (Shared Starter and Shared Unlimited). They feature unlimited monthly data transfers and storage. That being said, you’ll need to upgrade to Shared Unlimited for email.

As mentioned, it’s easy to use DreamHost with their domain-management tools. The custom control panel gives you admin access to all of your Dreamhost products. From there, it’s easy to update domain information, adjust settings, add users, and more.

Plus, they have a 100% uptime guarantee. They have multiple data centers, redundant cooling, emergency generators, and are monitoring things constantly to ensure everything is running smoothly.

Bluehost

bluehost logo.
Bluehost’s ease of use makes setting up a shared hosting site a breeze.

Bluehost is another company that includes a very easy-to-use website builder. It also features resource protection, so your website’s performance stays protected and unaffected even with other sites on the shared server.

They also have terms of use, but you can upgrade to VPS or dedicated hosting if needed. There is also 24/7 support, custom themes, WordPress integration, and a free domain for a year.

As one of PC Ediotrs’ Choice for Hosting, they mention, “The ever-evolving Bluehost is a dependable web host that makes site creation a breeze, especially for WordPress hosting.” That being said, it’s worth trying out Bluehost for shared hosting – especially if you’re using WordPress.

A2 Hosting

A2 Hosting logo.
We give A2 Hosting an ‘A’ for their shared hosting.

A2 Hosting stands out for its various packages, uptime performance, and great customer service.

It has four tiers of Linux-based shared web hosting. The price varies by storage, emails, and domains.

Each of their servers is optimized for speed and they limit how many clients can operate on each server. They mention that they have 20-times faster page load times than most competitors.

They have a team of experts to help with any account migration, tote a 99.9 uptime commitment, and 24/7 support.

InMotion

inmotion logo.
InMotion is another easy-to-use platform for shared hosting.

Inmotion has a reputation for excellent uptime, ease of use, and flexibility. It also offers many hosting types, so if you ever need to upgrade out of shared hosting, you can.

It has four Linux-based shared hosting plans ranging from 10GB of SSD storage up to 200GB. The plans are determined by websites, email accounts, and data transfers. They all include free SSL and a free domain.

They have a good reputation for uptime and have 24/7 technical support. Plus, it comes with an easy-to-manage cPanel, which any beginner can appreciate.

iPage

iPage logo.
iPage is cheap, yet offers excellent shared hosting features.

iPage is a shared hosting service with extremely affordable pricing plans that vary by term. They power over one million websites and have been in business since 1998.

Some of their benefits include unlimited email addresses, unlimited domains, and 24/7 support. They also include free SSL certificates, a free domain for a year, and a free website builder.

You can also upgrade to VPS and dedicated server hosting if your website becomes too big for shared hosting.

Hosting Shouldn’t Be Spared When Shared

As you can see, there are many benefits to shared hosting. It boils down to that it’s best for beginners, smaller websites, and if you’re on a budget.

You shouldn’t spare your hosting quality if using shared hosting. Use a suitable shared hosting company (like the ones we mentioned), and you should expect quality – even if there may be some occasional hiccups (e.g. downtime). Plus, use a company that makes it easy to upgrade, for when your website grows.

You’re welcome to use this article to reference shared hosting on your website. Or, ahem, with all of this talk about sharing – feel free to share it.

A Guide To Shared Hosting: What Are The Benefits and is it Right For You?

Shared hosting is a popular choice when it comes to hosting websites. This article examines everything you need to know to determine if shared hosting is right for you.

We’ll take a look at what exactly shared hosting is, how it works, its advantages and disadvantages, and check out some shared hosting providers.

illustration showing advantages and disadvantages of shared hosting.
You’ll learn all about the advantages — and some disadvantages — of shared hosting.

This article isn’t meant to persuade you to switch to shared hosting; however, it will offer you insight about it that you can use to make a logical decision when it comes to hosting. That way, you can know all the benefits, limitations, costs, and more, so you’ll have a clear-headed idea of if shared hosting is right for you.

We’ll be going over:

And with that, let’s kick things off with…

What is Shared Hosting

Shared hosting is website hosting that divides webserver resources between multiple domains that share a physical web server and its resources among the hosted websites. It can also be referred to as virtual shared hosting.

Users can host a website with other domains and share the server resources, which comes with a lower cost and the exact address IP as other domains from other users.

They (users) get a section of a server shared with hundreds of users. Everyone using the shared hosting has access to features, such as disk space, FTP accounts, monthly traffic, and additional add-ons offered by the host.

The system resources are shared on-demand by users that are on the server.

Who Should Use Shared Hosting?

Shared hosting is best for small websites, blogs, and low-traffic websites that do not require advanced configurations or high bandwidth. It’s also good for websites that do not need a great degree of reliability and can manage with some downtime as a result of things happening on the server (we’ll be going over that later).

Packages for shared hosting are typically minimum for features and support, but a lot of time, users can upgrade for additional costs.

Often, shared hosting is all that is required for small websites. However, if a website grows and starts developing more traffic, an upgrade to managed or dedicated server hosting is often needed.

As we touched on, shared hosting can work perfectly for budget-conscious new site owners and anyone with small, low-traffic sites due to all the benefits (that we’ll be discussing in detail later in this article).

How Does it Work?

We also mentioned this earlier, but shared hosting is where a single server hosts numerous sites. As for multiple locations, that can range from several hundred to thousands. It depends on the available hard drive space, processing speed, and RAM.

The hosting is provided by a machine the same as a dedicated server; however, numerous clients implement its resources.

What shared hosting looks like
This is shared hosting in a nutshell.

Separate portions of the server contain the user account’s files and applications. Each has its file directory tree, and users don’t have access to either the root or other files.

As you’ll see, there are many…

Advantages of Shared Hosting

Image of a pair of people holding a hosting sign.
There’s a lot of goodies that shared hosting offers.

You’ve probably already compiled some thoughts and ideas on why shared hosting may be beneficial. That being said, there are a lot of advantages to taking a look at in further detail.

So, let’s check them out.

Cost-Effectiveness

A significant reason to use shared hosting is that it’s very affordable. It’s the most cost-effective solution since many people contribute to the server’s costs, and the hosting company’s costs are distributed amongst them.

You can get a site hosted for as cheap as a couple of dollars per month, depending on your hosting provider and terms.

Flexibility

If you have a new or small website, you can start with shared hosting and upgrade without major obstacles as your site grows.

No Bandwidth Limitations

Whatever web hosting provider you have, they typically will provide you unlimited bandwidth for your website per month. However, be sure not to overload the server, or your account can be suspended.

There are also situations where if you use a lot of bandwidth and it affects the other domains, your hosting provider may indicate to you that you have to upgrade your account. However, it’s pretty uncommon.

Easy to Self-Manage without Technical Expertise

It’s straightforward to set up shared hosting. There are a lot of providers that offer a control panel for website management. Unlike VPS or dedicated servers, it’s simple to add FTP users, compress folders, change passwords, and more.

There are no expensive tools or complicated configurations to figure out.

Host Multiple Domains

For the option of hosting multiple domains, shared hosting has you covered. Most web hosts allow hosting multiple websites. That being said, there can be limitations, such as just allowing several domains per account. But, some may not have any restrictions unless your account gets tons of traffic.

Professionally Managed

When it comes to low maintenance, shared hosting fits the bill. Your hosting provider takes care of your server by ensuring basic server administrative tasks are functioning correctly. You should expect to have professional technical support for everything, including DDoS attacks, network outages, maintenance, and more.

Ability to Host Dynamic Websites

When you have a website that looks different according to who is browsing (e.g. Facebook), that is known as dynamic. CMSs and dynamic sites use programming languages (e.g. PHP), which can all be run on a shared server.

Built-in cPanel

Thanks to cPanel, you’re able to manage your web hosting tasks. With shared hosting, a built-in cPanel can ease control, simplifying setting up emails, databases, addon domains, and more.

Easy Email Hosting and Setup

It’s vital to have an email associated with your domain these days. With shared hosting, having a cPanel on an affordable hosting plan allows you to add email addresses easily. Plus, you can forward emails to other services (e.g. Gmail). Many shared hosting services offer unlimited emails accounts.

Disadvantages of Shared Hosting

A couple grappling at a hosting sign.
Anytime you share something, there can be some disadvantages…

Like anything, there are advantages – and disadvantages. That goes for shared hosting, too.

Here’s a look at some less desirable parts of shared hosting.

Security Issues

Unfortunately, shared hosting can be the most vulnerable type of hosting due to the fact hackers can use one domain to access the whole server – along with all of the other sites hosted on it.

Web hosts want the maximum number of domains hosted on a single server and often overlook security measures.

However, some web hosts mention that they implement domain isolation to prevent other domains from being affected if a particular site is hacked. And a lot of shared hosting companies step up their security more than others.

Speed

One of the major issues of shared hosting is speed. It’s due to many users sharing the server resources, RAM, and CPU – which can slow things down. Plus, if there’s a popular website on the server, it will affect all of the other sites due to the server resources and singular IP address.

This will vary with web hosts but be prepared for a slower site. However, this may not be a huge factor if you don’t get a lot of visitors or have a personal website where you don’t care much about speed.

Server Crashes

A common issue with shared hosting is server crashes. This occurs when sites use excessive CPU and RAM.

The more significant point is that hosting companies often aren’t quick to resolve the issue. It’s a common occurrence for them and not a high priority.

Of course, some good hosting providers do fix the problem and even ban a website that uses all the server resources. If a hosting provider has reviews or good customer support for issues like this, it maybe is worth using them compared with a hosting provider that doesn’t resolve the issue quickly.

Fixing Problems Can Take Longer

This corresponds with server crashes because, as mentioned above, problems sometimes aren’t quick to be determined, making it frustrating for anyone that cares about uptime.

Things can take a while to settle, even if a hosting company has the staff to fix downtime or any issues.

Again, be sure to look at reviews for the hosting company and determine for yourself if the company is good at fixing problems promptly. (And, the hosting companies we will be mentioning in this article all have good support, so keep that in mind.)

When Not to Use Shared Hosting

As discussed, shared hosting uses a common server amongst many websites. The result is that shared hosting is set up to let popular frameworks (e.g. WordPress) run flawlessly with basic configurations.

So, if you want to use a custom site framework that’s not currently installed on the server, or are looking to optimize server resources for specific website tasks, shared hosting might not be suitable for you. You’d be better off with dedicated or VPS hosting since they’ll allow for more customization.

If you need root access to install software or configure, it’s probably best not to use shared hosting since you’re very limited beyond anything basic.

Shared Hosting Providers

Now that you know all about the benefits, disadvantages, and how shared hosting works, you may decide it’s right for you. Here are some recommendations for shared hosting providers.

These companies come with a solid reputation, support and are well established. There are links to each plan, so please refer to those for more information and pricing.

Also, please note that we have no relationship with these companies beyond thinking they offer a solid product. We do not — and will not — post affiliate links here at WPMU DEV (which makes us kinda unique!).

If you’d like to share an opinion or ask a question about either our view on shared hosting or these providers, please do so in the comments at the end of the article.

HostGator

HostGator logo
HostGator is one of the most popular shared hosting providers out there.

HostGator is a popular and well-known shared hosting company.

Along with shared hosting, it offers WordPress, VPS, and dedicated hosting – which is great if your site becomes too big. Additionally, there are Linux-based shared hosting packages.

Its shared hosting has month-to-month plans and also has longer terms available. Their rich shared hosting packages include unlimited storage, monthly databases with plenty of growth opportunities, and email.

A big benefit of hosting with HostGator is their 24/7 customer support and reliability. If issues arise, they’re quick to fix the problem.

HostGator is a top-notch option for shared hosting, with a solid reputation for quality and reliable service at affordable prices. It’s highly recommended for shared hosting by numerous reviews and websites.

GoDaddy

GoDaddy logo
GoDaddy is no stranger to shared hosting.

GoDaddy is one of the cheapest options when it comes to shared hosting. It has a decent range of Linux-based shared web servers, plus it will include a free domain name if you sign up for a commitment that surpasses 12 months.

Also, you can always upgrade to VPS or dedicated hosting, if your site starts to surpass what’s passable with shared hosting.

GoDaddy includes great uptime (rarely goes down), useful website-building tools, and options for servers. Plus, their 24/7 support is beneficial if anything goes wrong.

They also have a solid reputation and has been in business for a while. It’s a good option for starting with shared hosting with upgrading in the future.

Domain.com

domain.com logo.
Domain.com offers more than domains with their shared hosting packages.

Domain.com is known more for their domains. They have shared hosting as well for an affordable price. Their various plans are determined by how many sites you have and all feature unlimited storage.

They include some free perks, such as an SSL Certificate, and a free domain. Along with that, they have 24/7 network monitoring and DDoS protection.

Their customer-friendly control panel makes it easy to use. And if you ever have questions or issues, you can always contact their support.

Hostinger

Hostinger logo.
Hostinger is a great low-cost option for shared hosting.

Hostinger offers some low-cost plans, 24/7 customer service, and their uptime is fantastic. They have three Linux-powered shared web hosting plans, with low cost – but a high commitment for those low costs (one-year to four-year).

They also have WordPress, VPS, and Linux Servers hosting, so you can always upgrade if needed.

A few cons are the lack of dedicated hosting, and not every plan has a Windows option. Plus, though there is 24/7 support, that doesn’t include phone support, which might inconvenience some users.

All this being said, Hostinger has a solid reputation for shared hosting. It can be extremely affordable, just be prepared to make a commitment.

DreamHost

DreamHost logo.
DreamHost can be a dream come true (sorry!) with their shared hosting.

DreamHost is another great option when it comes to affordable shared hosting. It’s geared more towards beginners, considering the tools that make it extremely easy to get up-and-running, support, and a one-click installation feature.

They have two shared hosting plans (Shared Starter and Shared Unlimited). They feature unlimited monthly data transfers and storage. That being said, you’ll need to upgrade to Shared Unlimited for email.

As mentioned, it’s easy to use DreamHost with their domain-management tools. The custom control panel gives you admin access to all of your Dreamhost products. From there, it’s easy to update domain information, adjust settings, add users, and more.

Plus, they have a 100% uptime guarantee. They have multiple data centers, redundant cooling, emergency generators, and are monitoring things constantly to ensure everything is running smoothly.

Bluehost

bluehost logo.
Bluehost’s ease of use makes setting up a shared hosting site a breeze.

Bluehost is another company that includes a very easy-to-use website builder. It also features resource protection, so your website’s performance stays protected and unaffected even with other sites on the shared server.

They also have terms of use, but you can upgrade to VPS or dedicated hosting if needed. There is also 24/7 support, custom themes, WordPress integration, and a free domain for a year.

As one of PC Ediotrs’ Choice for Hosting, they mention, “The ever-evolving Bluehost is a dependable web host that makes site creation a breeze, especially for WordPress hosting.” That being said, it’s worth trying out Bluehost for shared hosting – especially if you’re using WordPress.

A2 Hosting

A2 Hosting logo.
We give A2 Hosting an ‘A’ for their shared hosting.

A2 Hosting stands out for its various packages, uptime performance, and great customer service.

It has four tiers of Linux-based shared web hosting. The price varies by storage, emails, and domains.

Each of their servers is optimized for speed and they limit how many clients can operate on each server. They mention that they have 20-times faster page load times than most competitors.

They have a team of experts to help with any account migration, tote a 99.9 uptime commitment, and 24/7 support.

InMotion

inmotion logo.
InMotion is another easy-to-use platform for shared hosting.

Inmotion has a reputation for excellent uptime, ease of use, and flexibility. It also offers many hosting types, so if you ever need to upgrade out of shared hosting, you can.

It has four Linux-based shared hosting plans ranging from 10GB of SSD storage up to 200GB. The plans are determined by websites, email accounts, and data transfers. They all include free SSL and a free domain.

They have a good reputation for uptime and have 24/7 technical support. Plus, it comes with an easy-to-manage cPanel, which any beginner can appreciate.

iPage

iPage logo.
iPage is cheap, yet offers excellent shared hosting features.

iPage is a shared hosting service with extremely affordable pricing plans that vary by term. They power over one million websites and have been in business since 1998.

Some of their benefits include unlimited email addresses, unlimited domains, and 24/7 support. They also include free SSL certificates, a free domain for a year, and a free website builder.

You can also upgrade to VPS and dedicated server hosting if your website becomes too big for shared hosting.

Hosting Shouldn’t Be Spared When Shared

As you can see, there are many benefits to shared hosting. It boils down to that it’s best for beginners, smaller websites, and if you’re on a budget.

You shouldn’t spare your hosting quality if using shared hosting. Use a suitable shared hosting company (like the ones we mentioned), and you should expect quality – even if there may be some occasional hiccups (e.g. downtime). Plus, use a company that makes it easy to upgrade, for when your website grows.

You’re welcome to use this article to reference shared hosting on your website. Or, ahem, with all of this talk about sharing – feel free to share it.

Use checkbox with jquery and ajax to update database

Hello everyone
So, my objective is to update four rows in my database (id-> int , status->tinyint) from 0 to 1 and vice verca using a checkbox. This should be done without refreshing the page and using a form without submit button. Based on my research, I was able to write the following code but not sure if it is correct as I am very new to this part. Can someone please help me with this, I have been trying to do this for a very long time.
Thanks you

Index.php

<form id="myform" method="post" action="">
<input type="checkbox" class="ids" name="ids[]" value="1">
<input type="checkbox" class="ids" name="ids[]" value="2">
<input type="checkbox" class="ids" name="ids[]" value="3">
<input type="checkbox" class="ids" name="ids[]" value="4">
</form>

<div id="response"></div>


<script>
 $(document).ready(function() {
     $('#myform').click(function() {

     var state = ($(this).is(':checked')) ? '1' : '0';

       $.ajax({
         url: "test.php",
         type: "post",
         data: $('.ids:checked').serialize(),state: state
         success: function(data) {
         $('#response').html(data);
          }
      });


    });
 });
</script>

test.php

<?php
include_once("db.php");

if (isset($_POST['ids'])) {
$id_value = $_POST['ids'];
 $state = (int)$_POST['state'];

        foreach($id_value as $check) {

          $sql_check = "UPDATE toggle SET status= '$state' WHERE id = '$check' ";
          $result_check = mysqli_query($conn,$sql_check);

         if($result_check){
             echo "sucess";
         }else{
             echo "failure";
         }
        }

}
?>

BizTalk Server Administration Error: Troubleshooting and Solving

Introduction

I recently encountered an error during some troubleshooting related to BizTalk. The was new to me and I wanted to share the solution with the community. So, in the future, if anyone faces this issue then they can try this option as well.

When I was trying to expand the applications, the below error popped up and it was failed to load the applications.

Why Use gRPC and Thrift for Remote Procedure Calls

Usually, whenever somebody wants to start building an HTTP API for their website, they pretty much exclusively use REST as the go-to architectural style. They prefer REST to alternative approaches such as RPC and GraphQL.

REST works well for most cases, especially if you build a monolithic application that does not have complex within-application communication. The problems come when you build an application that consists of dozens of backend services regularly communicating with each other. An example of such architecture can look like this.

CVE-2021-44228: Log4j2 Exploitability and Attack Path Mitigation

Quick Overview

The gravest cyber threat of modern times is upon us in the form of CVE-2021-44228. Here are some key resources:

How to Protect Your Organization: Measure Your Exposure and Enumerate Attack Paths

In order to quickly find and prioritize how at risk you are of a Log4j 2 exploit, you can focus on enumerating the virtual machines and pods which are directly and indirectly exposed to the internet. We used ThreatMapper to detect our own exposure caused by Elasticsearch (which has since been fixed) as follows. Dogfooding much!

5 Tangible Metrics for the Speed of Software Engineering Teams

Introduction

Firstly,  since we want to discuss the topic of metrics, what does it mean for a software engineering team to perform well anyway? For the purpose of this post let us take the following metrics for a given software engineering team as the fundamental one:

  • Speed of development (try to maximize)
  • Number of bugs (try to minimize)

This model is clearly over-simplified, however, in favor of keeping this post brief, we will use it in this writing. Furthermore, we are concentrating on the technical perspective here. Alignment of business and engineering is crucial for success, however, it is a topic for another post.

Overcoming 5 Challenges to Shifting AppSec Left

Digital transformation and the speed at which applications are developed and deployed is moving at a rapid pace. Businesses have always competed to see who can be the first to respond to customer needs, mainly in hopes of capturing some of a competitor’s market share. DevOps and the cloud have enabled software development to move from the annual updates of yesteryear to shipping releases daily to what we now call continuous delivery (CD). 

Unfortunately, the security industry has fallen behind in its ability to keep pace with modern developer teams in many ways. It may be more accurate to say security was left behind. As developers assumed ownership of applications through development and operations, security was left in a silo — a gatekeeper expected to review code, find vulnerabilities, and send the results back to the developer team for remediation.

Showcase 3D Museum Exhibits and Audio Guides

3D technology is developing fast, and more and more museums rely on such technology to hold online exhibitions, opening up history to more people. Users can immerse themselves in online exhibitions through themed virtual environments, stunning lighting effects, and exhibit models that can be enlarged and shrunk, so that visitors can view every detail. On top of this, such exhibitions also feature background music (BGM) and audio guides, providing background to each exhibit.

Here is a virtual exhibit that showcases a high level of realism.

Extending Apache SkyWalking With Non-Breaking Breakpoints

Non-breaking breakpoints are breakpoints specifically designed for live production environments. With non-breaking breakpoints, reproducing production bugs locally or in staging is conveniently replaced with capturing them directly in production.

Like regular breakpoints, non-breaking breakpoints can be:

node.js Cannot get

Im am new to node.js and get the mentioned error in server.js file.

I am trying to introduce a gantt diagramm with dhtmlx library.

I am using Node v16.13.1 and IntelliJ 2021.3

Below are my code snippets.

Index.xhtml:

<!DOCTYPE html>
    <head>
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
        <title>QuickInfo extension</title>
        <script src="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.js"></script>

        <link href="https://cdn.dhtmlx.com/gantt/edge/dhtmlxgantt.css" rel="stylesheet">

        <style type="text/css">
            html, body{
                height:100%;
                padding:0px;
                margin:0px;
                overflow: hidden;
            }

        </style>
    </head>

    <body>
    <div id="gantt_here" style='width:100%; height:100%;'></div>
    <script>
        gantt.config.date_format = "%Y-%m-%d %H:%i:%s";
        gantt.init("gantt_here");
    </script>
    </body>

Server.js:

 var express = require('express');
        var bodyParser = require('body-parser');
        var path = require('path');

        var port = 1337;
        var app = express();

        app.use(express.static(path.join(__dirname, "public")));
        app.use(bodyParser.urlencoded({ extended: true }));

        app.listen(port, function(){
            console.log("Server is running on port "+port+"...");
        });

        var Promise = require('bluebird');
        require("date-format-lite");

        var mysql = require('promise-mysql');
        var db = mysql.createPool({
            host: 'localhost',
            user: 'root',
            password: '',
            database: 'gantttutorial'
        });

        app.get("/data", function (req, res) {
            Promise.all([
                db.query("SELECT * FROM gantt_tasks"),
                db.query("SELECT * FROM gantt_links")
            ]).then(function(results){
                var tasks = results[0],
                    links = results[1];

                for (var i = 0; i < tasks.length; i++) {
                    tasks[i].start_date = tasks[i].start_date.format("YYYY-MM-DD hh:mm:ss");
                    tasks[i].open = true;
                }

                res.send({
                    data: tasks,
                    collections: { links: links }
                });

            }).catch(function(error) {
                sendResponse(res, "error", null, error);
            });
        });

nodeJsProblem.PNG

Has anyone an idea what I am doing wrong?

Database Migration to Azure for PostgreSQL

PostgreSQL has been an extremely popular open-source relational database management system for a long time. Following the long-term trend of migration to SAAS platforms, many organizations choose the Azure cloud since it provides rich infrastructure including more than 200 applications. That is why database migration to Azure for PostgreSQL is a reasonable choice. 

This article explores basic approaches to three types of migration:

Questions to Ask When Choosing a Low-Code/No-Code Platform

Current and future app creation is and will be driven by low-code/no-code development platforms (LCDP). Organizations moving forward with low-code development are doing so because they have investigated and understood the benefits. The list of benefits is substantial, from agility to lower development costs to decreased time to market to increased sales and market share. How does a company choose which LCDP for future app development? 

If a company is seeking a new ERP application, they first create a Request for Proposal, sometimes called a Request for Quote. The RFP is filled with information about application content requirements followed by questions focusing on the supplier and the features offered by their unique applications. The questions center on how the provider's solution matches the customer’s requirements; about the proposed new application's cost plus the support and modification costs; the functions and unique features the solution will provide; it asks about the user interface along with whether the new application will allow for the integration of legacy programming code and data; the buyer wants to know what technologies are used and tons more. I have yet to see an RFP for the selection of a LCDP provider. 

9 Popular React UI Component Libraries for Beginners in 2022

Did you know that according to the survey, 40.14 percent of respondents reported using React.JS, while 34.43 percent were using jQuery? Needless to say, React.js is the most used framework among developers. React powers the user interfaces (UI) of approximately  10 million websites across the internet. Since the base library of React is rigid, there are various component libraries topped up by valuable design elements for your React applications or web/mobile development projects. 

Before getting into the React-based UI component libraries, let’s first flick through the advantages of those libraries which will answer your question of why you should go for them in the first place:

Query Control Made Easy

Overview 

As we all know, data security is a never-ending battle. Every day, we hear of new data breaches. It's a hard problem, and there is no single solution, other than defense in depth.

Let's look at one of those defenses for databases: query control.

Why Develop a Decentralized Application Architecture for Cloud-Native, API-centric, and Microservices Patterns

This article is outlining the cell-based architecture, which was published as an open specification on GitHub summer-2018. Our approach creates a pragmatic and technology-neutral reference architecture that addresses the requirement for agility. It can be instantiated to create an effective and agile method for digital enterprises, deployed in private, public, or hybrid cloud environments.

When I present the new architecture at technology events, one common question is the reason we are defining a new reference architecture in an already crowded market.  This article lists the motivating factors.