Category: Affiliate Marketing

New to website building and need help

New to website building and need help

Hello I’m Mikoschele,

I’m pretty new to the website creation or building thingy. And I’m trying to create a decent profile for my passion project Arechnocadia.

I recently came to a problem when I tried to further play with the domain I bought and the website I was working on.

You see https://www.arechnocadia.com/ was built on wix as I found it to be only a test on how far I can go for my first try, but the more I worked on it the more I fallen In love with the creation and the profiling I did for my Project over an website.

So, I tried harder and looked further and found the problems with wix and their poor interaction with the customer. The lack of freedom or creativity.

I was thinking of transferring the domain and building my own webpage. Got inspiration by somebody doing it completely coded.

But I right now have no idea which is best for the website, as I don’t want to be shackled by dumb things I did in the past.

I’m right now looking for a way to create and host my own webpage in an easy and freeway.

I came over a post today https://www.reddit.com/r/webhosting/comments/j6xijc/how_to_transfer_wix_website_to_another_host/

Talking about transfer and I wanted to see, if there are things, I need to consider for future action to be able to go smoothly.

I’m not that knowledgeable about website creating or coding, but I’m quite interested in this topic so getting in debt into it is what I’m looking forward too.

P.S: I was considering using wordpress.org, but I don’t know anything and would just look up on how to host build and create a website. (Has wordpress.org any shackles or downsides I need to consider? Or do you know any alternatives?)

Most Reliable Hosting Company Sites in April 2021

See full table

Choopa.com had the most reliable hosting company site in April 2021, heading the table for the fifth time in the past 12 months. The top five sites each responded to all of Netcraft’s requests, but Choopa.com’s average connection time of just 3ms wins it the top spot. The host offers a range of services including cloud hosting, dedicated hosting and colocation in its own primary facility in Piscataway, New Jersey as well as other facilities in Los Angeles, Amsterdam, and Tokyo.

Second place this month goes to Rackspace, narrowly behind Choopa.com with an average connection time of 6ms. Rackspace has appeared in the top 10 for five consecutive months, four of which placed it in the top three. Rackspace provides a wide variety of cloud services from its global network of over 50 locations across five continents.

dinahosting completes the top three for April. dinahosting offers its services from Interxion, in Madrid, and customers can choose from a range of cloud and managed solutions as well as register domain names. Swishmail and Flexential also responded to all of Netcraft’s requests in April, and appear in 4th and 5th place.

Linux remains the dominant choice of operating system among the top 10 in April, being used by nine of the top 10 sites. FreeBSD also makes an appearance at 6th place with NYI.

Netcraft measures and makes available the response times of around twenty leading hosting providers’ sites. The performance measurements are made at fifteen minute intervals from separate points around the internet, and averages are calculated over the immediately preceding 24 hour period.

From a customer’s point of view, the percentage of failed requests is more pertinent than outages on hosting companies’ own sites, as this gives a pointer to reliability of routing, and this is why we choose to rank our table by fewest failed requests, rather than shortest periods of outage. In the event the number of failed requests are equal then sites are ranked by average connection times.

Information on the measurement process and current measurements is available.

Can you set up ssl for a domain that’s not pointinf to your server yet?

Looking to swap server setup but want minimum downtime. If I used certbot to install ssl for domain x and then pointed the domain nameservers to this server sometime later, would the ssl work fine?

Also one more question, when I install ssl with certbot do I have to input both www.domain.com and domain.com or does it automatically set up the www ssl if I do just domain.com? Only used letsencrypt a while ago and I believe it automatically set up ssl for www upon installation of domain.com


April 2021 Web Server Survey

In the April 2021 survey we received responses from 1,212,139,815 sites across 264,469,666 unique domains and 10,939,637 web facing computers. This is an increase of 24,611,866 sites, 1,114,050 domains and 91,955 computers.

nginx gained the largest number of sites this month increasing by 12.5 million sites to 432,167,302. This also increases its market share to 35.65%, up 0.32 percentage points. Microsoft last month lost its place as third largest web server developer to OpenResty, this month it continued to lose sites (-3.6M) and market share, dropping 0.42pp to a market share of 5.54%. OpenResty gained 4.1 million sites and 0.21pp market share, while Apache gained 5.4 million sites but lost 0.08pp market share.

Looking at domains Apache and OpenResty gained the largest amount, with LiteSpeed and Oracle also seeing increases. OpenResty increased by 467k unique domains (+1.2%), this growth is primarily fueled by its increased use at both Google Cloud and Amazon AWS. Apache gained a similar amount with 426k domains (+0.6%), LiteSpeed gained 52k (+1.0%), and Oracle gained 27k (+3.6%). In contrast, nginx, Microsoft and Google each lost domains, 483k (-0.6%), 331k (-2.2%) and 233k (-9.2%) respectively.

In terms of web facing computers nginx gained the largest number with an increase of 59.6k (+1.6%) extending its market lead over Apache to 3.32 percentage points. Apache saw a smaller increase in the number of web facing computers making use of it (8k, +0.2%), this resulted in Apache losing 0.20pp market share. Microsoft lost both absolute numbers of computers, -15.3k (-1.1%), and market share, -0.25pp.

Focusing in on the million busiest sites Cloudflare gained 2,721 sites, the only significant gain this month, it is now used by 16.70% of the million busiest sites. nginx and Microsoft saw the largest losses, 1,978 and 1,806 sites respectively, with Apache dropping 608.

Other vendor and hosting news

  • nginx version 1.20.0 was released on April 20th; this incorporates the features from the last year of development on the 1.19 mainline branch into a stable release that will not receive further feature updates. Prior to the release of version 1.20.0 the mainline 1.19 branch received a bug fix update on March 30th, and a minor update with features related to keepalives on April 13th.
  • Apache Tomcat major versions 8, 9 and 10 were all updated on April 6th to pick up binaries built with OpenSSL 1.1.1k. Version 7 received a bug fix release on April 26th.
Total number of websites

Web server market share

Developer March 2021 Percent April 2021 Percent Change
nginx 419,637,923 35.34% 432,167,302 35.65% 0.32
Apache 308,509,042 25.98% 313,948,741 25.90% -0.08
OpenResty 77,819,490 6.55% 81,935,391 6.76% 0.21
Microsoft 70,826,342 5.96% 67,182,740 5.54% -0.42
Web server market share for active sites

Developer March 2021 Percent April 2021 Percent Change
Apache 50,506,614 25.38% 50,508,693 25.34% -0.03
nginx 40,111,872 20.15% 39,965,809 20.05% -0.10
Google 20,086,396 10.09% 19,438,838 9.75% -0.34
Cloudflare 16,932,600 8.51% 17,677,430 8.87% 0.36

For more information see Active Sites

Web server market share for top million busiest sites

Developer March 2021 Percent April 2021 Percent Change
Apache 255,542 25.55% 254,934 25.49% -0.06
nginx 230,565 23.06% 228,587 22.86% -0.20
Cloudflare 164,235 16.42% 166,956 16.70% 0.27
Microsoft 68,493 6.85% 66,687 6.67% -0.18
Web server market share for computers

Developer March 2021 Percent April 2021 Percent Change
nginx 3,837,524 35.38% 3,897,150 35.62% 0.25
Apache 3,525,111 32.50% 3,533,152 32.30% -0.20
Microsoft 1,443,725 13.31% 1,428,374 13.06% -0.25
Web server market share for domains

Developer March 2021 Percent April 2021 Percent Change
nginx 80,999,556 30.76% 80,516,546 30.44% -0.31
Apache 68,822,067 26.13% 69,248,336 26.18% 0.05
OpenResty 38,035,992 14.44% 38,502,619 14.56% 0.12
Cloudflare 18,657,944 7.08% 18,591,275 7.03% -0.06

5 WordPress Trends to Discover in 2021

WordPress is the world’s most popular website creation platform and has been for a while now. What makes WordPress so wildly popular and successful isn’t the fact that there are no alternatives; it’s the fact that WordPress by itself is by far the simplest to use, one of the most sophisticated, and a top-tier website creation tool.

There have been many platforms diligently working to dethrone WordPress, but none have even come close. These days, WordPress powers 40% of all websites available, which is a massive number.

A platform of the size of WordPress is a monolithic one, and it has a whole community centered around it. Just like anything else in the digital sphere, it’s chock-full of trends, and the trends in twenty twenty-one dictate the future of how people will go on using the platform.

Below, we’ll outline five of the most buzzing WordPress trends you need to keep an eye out for if you want to make your WordPress website stand out among the crowd.

Securing Your Website

The global pandemic is a worldwide tragedy. Many lives and livelihoods were lost, which has made people very worried and anxious. People these days are all about safety and security. Providing them with a guarantee that your website is as safe as possible is a fantastic way to prove that you’re running a legitimate website.

Since more and more people spend time at home on the internet than ever, cybercrime is running rampant. People are taking the time to choose a reliable antivirus program and a VPN app. All these measures are taken to reassure that they are protected, and their identity is not abused. Thus, make sure to secure your website as much as possible and provide the necessary proof. HTTPS always beats HTTP, stating that you have safety standards to protect your users and go a long way. As a web owner, you should also use appropriate security solutions to ensure that your data and all business operations are safe.

Recommended reading: 5 Things to Check to Ensure Your WordPress is Secure

UI/UX Optimization

UI/UX has always been a fickle thing. Trends dictate how these two fundamental aspects any given website should follow, and in 2021, it’s all about simplicity. No longer are people willing to transverse a website for ages on end just to find something they’re looking for – they want it fast, and they want it simple.

What you need to do is invest in UI/UX optimization for your website. Minimalism is very modern at the moment, and reflecting that on your website can be fantastic. WordPress is a very UI-friendly platform, so you can craft your website towards the needs and wants of your prospects and visitors with ease.

Community Plugins

Since people are locked in most of the time due to the pandemic, they’re looking for alternative ways to connect with other human beings. Now, there isn’t a lack of forums, messengers, and social media platforms floating around the internet – but what WordPress websites are starting to do is integrate a sense of community into their existing websites.

Now, if you’re using WordPress as a platform for your website, you’ll be delighted to find out that the heavy lifting has already been done for you.

The only thing that you’ll need to care about is installing a community plugin, setting it up, and putting it out to the world to see.

Landing Pages

Now, landing pages aren’t anything new, and they have been an essential part of most websites for a while, but only recently have we fully embraced them as the industry standard. A landing page is the first page the user stumbles upon when visiting your website from a referral or hyperlink.

A landing page should be slick, simple, and contain as many visuals and bite-sized information as possible.

Direct Responses/Bots

Customer service is one of the pillars of any service website that engages with people in every way. Now, there would be nothing better than having a professional ready to answer any question your potential buyer might have to ask, but that’s usually not a possibility.

A good alternative, at least for WordPress websites, is to use a bot to handle a part of your customer services. Bots and AI are getting more sophisticated, meaning that they can help your customer and visitor without appearing as brainless, aimless, and unhelpful bots.

Recommended reading: Best WordPress Hosting Providers

Final Thoughts

WordPress is one of the most important platforms in the digital world, and as time goes on, it gets more and more sophisticated and user-friendly. Since it’s open-source, there are more themes, plugins, and items than you can imagine, all of which allow you to make your WordPress-based website that much better!

Looking for a managed hosting provider recommendedation with a Canadian server location for around 160 USD/month?

Web Hosting Questionnaire

What is your monthly budget?

Where are you/your users located?

What kind of site are you hosting (WordPress, phpBB, custom software, etc) or what is your use case?

Do you have a monthly traffic volume? Estimates are ok.

If you’re looking at VPSes: Do you have experience administrating linux servers and infrastructure?

Did you read the sidebar/check out the hosts listed there? I’ve personally vetted these companies and their services are a good fit for 99% of people.

How to Save Money on Domain Names and Renewals

How to Save Money on Domain Names and Renewals

A domain name provides you an entry point to the online world. You cannot build and maintain a website without a domain name. It gives an identity to your brand for which you are creating a website and your website will be known by this domain name for times to come. For instance, our domain name can be found in the address bar of this web page.

Our website is known by this name both among people like you and search engines like Google. So, a domain name becomes the identity of a website just like our names provide us our identities. It is, therefore, essential to select your domain name wisely since you cannot change it later.

Saving money on domain names

With the growth of the internet and its accessibility around the globe, millions of websites have emerged online in the last decade. This has led to the entry of dozens of domain name providers into the domain market. An increase in competition among the domain name providers has worked in the favor of people like us who want to get the best domain name deal for their websites.

A little effort can save you a big amount especially when you are planning to add multiple domains to your online portfolio in the long run. Though for a person owning just a single website, it might look like just a few-dollar savings but don’t forget the age-old phrase, “A penny saved is a penny earned”. Even little savings on a single domain purchase and renewal will add up in the long run.

How to save money while buying a domain name?

Since buying a domain name is your first step towards building your new website, taking this step in the right direction is of utmost importance. You can buy a domain name for just a few dollars or spend millions of dollars depending on the inherent value it possesses.

However, for most of our domain name requirements, one can find a suitable name at a reasonable price that lies under $50. You might be offered the same domain name for a price of $10 by one domain name provider and $20 by another. That is why I’m here to discuss different ways to save money while buying a domain name for your website:

Checking the credibility of the domain name provider

Before signing up with a domain name provider, it is recommended to check its credibility from the reviews of its existing customers. With the growth of the domain name business, many new companies sprung up regularly and offer great deals for luring new customers. Many of them are not able to stay much longer in the business and some of them are even frauds.

So, the first rule of saving your money while buying a domain name is not to fall into the trap of such fraudsters or inexperienced newcomers. Carefully examine the credibility of the domain name providers before you buy domain names from them.

Grab a free domain

Because of increasing competition in the domain and hosting business, many top-level domain name providers offer a free domain with their web hosting plans. For getting a domain name without spending anything out of your pocket, consider buying a hosting plan for your website that offers a free domain name along with. It will be the best savings you can make while registering a domain name since you do not have to pay a dime.

Check the hidden fees

It is always worth the effort to examine carefully whether the domain provider you have chosen charges any costs that are not mentioned explicitly i.e. the costs that are hidden. Such costs can be problematic in the future as you will be charged without any prior notice. To find out the hidden domain name costs, you can ask the customer support team of the domain provider for any additional costs charged apart from the ones mentioned on the provider’s website.

Another way to know about such hidden charges is by reading the experiences of the existing customers at various discussion forums and third-party review websites. It will also give you an idea of the service satisfaction level that is felt by the inner circle. Therefore, avoiding all the hidden charges will result in savings while buying a domain name for your website.

Search and utilize coupon codes

You must have come across websites offering coupon codes for several purposes. Few such sites also offer coupon codes with exclusive deals on domain purchases. It is extremely easy to find such coupon sites for domains by doing a quick Google search like this one:

Just replace ‘Namecheap’ with the name of the domain provider you desire a coupon code for and ‘April 2021’ with the current month and year. You will see several websites with numerous coupon codes in the search results. I’d recommend you trying the ones that have been recently used by other users. For instance, the one displayed below was last used two days ago:

You might sometimes find expired coupons on such coupon-providing websites. You will get to know it while applying the code on the checkout page of the domain name provider. That is why I mentioned the above technique of using the recently tested coupon codes as it reduces the time spent in trying out different codes.

In my opinion, it is completely worth the effort finding out such special discount coupons since you can make great savings with the use of such codes.

Recommended read: Namecheap Review

Booking a domain for a long tenure

When you buy a domain name, you will notice that many domain name providers offer better discounts with long-term domain booking. If you are planning to stay in the online world for a long period, it is best to book your website domain for a longer tenure for huge savings. In addition to the financial savings, long-term domain booking also saves you from the stress of domain renewal invoices for a very long time.

Wait for special occasions

Many domain name providers offer great discounts to attract new customers on special occasions like Black Friday, Cyber Monday, Christmas, and more. If you are already planning to develop a website, grabbing a discount deal on such occasions will help you save a lot of money.

Even if you haven’t yet started preparing a concrete plan for your website but are determined to own and maintain one very soon, I’d highly recommend thinking upon a suitable name for your website and purchase the domain when the highest discount is offered around some special occasion. You will notice a big difference in the domain price as soon as the offer ends.

Now that you know a lot of ways to save money while buying a new domain name, let us move forward and talk about the savings that can be made during the domain renewal process.

How to save money while renewing a domain name?

You must be aware of the fact that investing in a domain name is not a one-time task. You will have to pay regularly for your domain to keep its ownership with you. That is where domain name renewals come to your rescue.

With regular renewal, you can maintain your ownership over your website domain for decades to come. But these renewals are costlier than the initial domain name costs. It, therefore, becomes more important to find ways to save money while renewing a domain name. Let us discuss some of these money-saving ways in detail here:

Migrate your domain name

Domain business is all about attracting new customers due to which you won’t find any domain name registrar offering a great deal on domain renewal. However, when you explore the positive side of this very feature of the domain business, you will find that almost all domain providers welcome you with open arms if you are an existing customer of their competitor. That brings us to the best way to make savings while renewing your domain name – domain transfer.

Find a top-level domain-providing company offering a bargain deal on migrating your domain to it well before your domain renewal date. The whole transfer process might take anywhere between a few hours to a few days depending on the new domain provider and the number of domains you are transferring.

To make the domain migration process completely hassle-free, I’d recommend you looking for a domain provider who handles the whole domain transfer process on your behalf.

Check the renewal fees while domain registration

Whenever you register a domain for your website, always check the renewal prices offered by your domain provider. It is the first step to plan your finances for the long term when creating and maintaining a website.

For instance, you will notice that GoDaddy often offers a free domain with their hosting packages, or low fees for purchasing a domain name, however, after the first year on the initial purchase, the domain renewal fees go much higher than anticipated.

On the other hand, Namecheap doesn’t have any spiking domain renewal charges and even offers Domain Privacy Protection for free, unlike its competitors. Booking your domain with such a domain name provider will help you save a lot in the long run.

Renewing for multiple years in advance

Just like registering a domain for a longer tenure results in savings, renewing it for multiple years in one go also helps you save some bucks. Every domain name provider would want you as a customer for a long period since a business needs customers for survival. That is why almost all of them offer huge discounts when you renew a domain for a substantial amount of time.

So, if you are pretty much sure about growing and maintaining your website for years to come, consider booking your domain renewal for multiple years in advance. It will also take away your worries related to yearly domain renewal invoices for a very long time.

Explicitly asking for a discount

When you are satisfied with your domain name provider and do not want to transfer it to a competitor, you can contact the customer support team of your domain provider just before your domain renewal. Even though your domain-providing company might not be publicly disclosing that it is offering a discount on domain renewals, you might get an exclusive one if you talk to the customer support team about a better offer you just saw with some other domain provider.

Explicitly ask for a discount from the sales support pointing out the availability of a better deal with a competitor. Your provider will try to keep you as a customer by offering you a good deal when you mention your intention to migrate for the sole reason to save some bucks. This way you might even end up saving more than what you would have saved by transferring your domain to another domain provider.

Those were the ways to save money on domain purchases and renewals. Using one of the above ways or a combination of a few will help you save big bucks in the long run.

My recommendation based on the highest savings made

While collecting all the above tips and tricks for you, I visited almost all the domain name providers and also read many discussion threads on several forums for getting insiders’ viewpoints and experiences. As per my observation, Namecheap offers the best discounts on both registering and renewing a domain. The domain provider even has a dedicated section on its website that offers special coupon codes for great savings each month. It looks like this:

Fresh coupons are added every month to help you save money on domain registration, renewal, and many other services offered by the company. You can buy a domain name from Namecheap and look for the best hosting deal either from Namecheap or another hosting provider depending on your requirements. In my opinion, it will result in the best savings when buying and renewing your domains.

Final Words

Buying and maintaining a domain is an important aspect of your online existence. Depending on your decisions, it can cost you just a few pennies or a big fortune in the long run. Using the above techniques while purchasing and renewing your website domain name will greatly help you in making huge savings throughout the lifespan of your domain.

With the above information, I genuinely hope to bring in some savings for you either in the form of domain registration or domain renewal, or both. Do you know any other ways to save money while buying or renewing a domain? Or, have you tried any of the above ways to save money on your domain? Do let me know in the comment section below.

Most Reliable Hosting Company Sites in February 2021

See full table

Choopa.com took the top spot as the most reliable hosting company site in February. The top five hosting company sites all had no failed requests during the month, with the ranking decided by fastest average connection time. Choopa.com had the fastest connection time out of all of the top 10 hosting company websites, at just 5ms. In the past 12 months Choopa.com appeared in the top 10 nine times. Choopa.com offers a range of services including cloud hosting, dedicated hosting and colocation in its own primary facility in Piscataway, New Jersey as well as other facilities in Los Angeles, Amsterdam, and Tokyo.

Spots two and three in February go to Rackspace and Webair. Rackspace provide a wide variety of cloud services from its global network of over 50 locations in five continents, and Webair offer managed and private cloud services, storage and backup solutions from its eight facilities in New York, Chicago, Los Angeles, Montreal, London, Paris, Amsterdam and Singapore.

The other two hosting companies to respond to every request during February were Hyve and CWCS.

Linux continues to be the dominant operating system used by hosting company sites, with New York Internet the only site in the top 10 using FreeBSD, and the other nine using Linux.

Netcraft measures and makes available the response times of around twenty leading hosting providers’ sites. The performance measurements are made at fifteen minute intervals from separate points around the internet, and averages are calculated over the immediately preceding 24 hour period.

From a customer’s point of view, the percentage of failed requests is more pertinent than outages on hosting companies’ own sites, as this gives a pointer to reliability of routing, and this is why we choose to rank our table by fewest failed requests, rather than shortest periods of outage. In the event the number of failed requests are equal then sites are ranked by average connection times.

Information on the measurement process and current measurements is available.

How to Install Odoo 14 on Ubuntu 20.04

In this tutorial, we’re going to show you how to install Odoo 14 (community edition) on an Ubuntu 20.04 server with Nginx as a reverse proxy and HTTPS through a free SSL certificate (Let’s Encrypt).

The instructions are the same for other versions of Ubuntu too.

Step 1: Get a server for Odoo

First thing’s first – you need a server. We recommend getting a server from SolaDrive – they are specialized in Odoo hosting and will provide fully managed support for your server, as well as some support for Odoo itself. They can install Odoo for you for free if you get a server from them.

Alternatively, if you can manage a server yourself and know what you are doing, you can get an unmanaged server from Vultr.

For other options check this page. Get a server with at least 2GB of RAM. The more the better.

If you plan on using Odoo locally, you don’t need a server and you can just skip to the next step.

Step 2: Log in as root and update the server

Next, log into the server and update it before we start with the actual Odoo installation:

apt-get update && apt-get upgrade

If the server you’re using is unmanaged, you should properly configure and secure the server. Make sure you keep it updated and keep backups. If you got a server from SolaDrive, it’s fully managed so they will do most of the work for you.

Step 3: Install PostgreSQL and other packages

Odoo requires PostgreSQL. To install it and a few other packages we’ll need for this tutorial, run this command:

apt-get install postgresql nano wget

Step 4: Install Odoo

We’ll be using the nightly packaged installer for Odoo. Run the following commands:

wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/14.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
apt-get update && apt-get install odoo

This adds the repository and installs the community edition of Odoo with all its dependencies.

Step 5: Start Odoo and enable it at boot

If you ran the packaged installer, Odoo may already be running. You can check the status by running this command:

systemctl status odoo

If it’s not running, you can start it with this command:

systemctl start odoo

To enable Odoo to start at boot, run this command:

systemctl enable odoo

Step 6: Finish the Odoo installation

To complete the installation, you need to create a database and run the last step by visiting your server’s IP address on port 8069. This is the default port for Odoo.

So, visit http://yourserversip:8069

and fill out the details, everything is self-explanatory. This step creates a database and you can optionally fill it up with demo data.

Once that step is done, you can start using Odoo and installing apps.

If you want to use a domain name instead of your server’s IP address, you need to set up a reverse proxy.

(Optional) Step 7: Set up Nginx as a reverse proxy with HTTPS (Let’s Encrypt)

First, install nginx and certbot with the following command:

apt-get install nginx python3-certbot-nginx

Then, start the nginx service if it’s not already started and enable it at boot:

systemctl start nginx
systemctl enable nginx

Next, edit the Odoo configuration file

nano /etc/odoo/odoo.conf

and set proxy_mode to True (by default it’s set to False):

proxy_mode = True

Then, create an Nginx configuration file for Odoo:

nano /etc/nginx/conf.d/odoo.conf

And add the following:

upstream odoo 

listen 80;
server_name odoo.thishosting.rocks;
root /usr/share/nginx/html;
index index.html index.htm;
access_log /var/log/nginx/odoo-odoo.thishosting.rocks-local.access.log;
error_log /var/log/nginx/odoo-odoo.thishosting.rocks-local.error.log;

location / 
proxy_pass http://odoo;
# force timeouts if the backend dies
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;

# set headers
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;

# cache some static data in memory for 60mins
location ~* /web/static/ 
proxy_cache_valid 200 60m;
proxy_buffering on;
expires 864000;
proxy_pass http://odoo;

Make sure you replace “odoo.thishosting.rocks” with your own domain name.

To test the configuration file, run:

nginx -t

If everything is okay, just restart Nginx and start using your domain:

systemctl restart nginx

You can stop here if you don’t need to use an SSL (HTTPS).

To install a free Let’s Encrypt SSL for your domain, run:

certbot --nginx -d odoo.thishosting.rocks

Of course, use your own domain name instead of “odoo.thishosting.rocks”

Follow the self-explanatory prompts. Make sure you let certbot set up http to https redirection (option 2)

If you’re using a firewall, make sure you allow the ports for https with the following commands:

ufw allow 'Nginx Full'
ufw reload

And that’s it. Now you can use Odoo on https://odoo.thishosting.rocks or whatever your domain name is.

How to update Odoo on Ubuntu?

If there’s a newer version of Odoo released, you can upgrade to that one on the same server you’re currently using. In a nutshell, you just follow this installation tutorial again but for the newer version. Make sure you don’t delete the old database.