Bitnami WordPress Multisite is now configured with a domain by default

Published on July 24, 2017
wordpress
wordpress multisite
cookies
Raquel Campuzano Godoy

Raquel Campuzano Godoy


Passionated about IT, fencing, and books. Content Manager @bitnami.


Share this article

Have you ever seen the following message when trying to access your different domains in WordPress Multisite?: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

This is a common issue in some of the most popular browsers such as Google Chrome and Safari. This error occurs when you use an IP address to access your main site in WordPress Multisite instead of using a domain name. By default, Bitnami have placed a transparent domain in its WordPress Multisite stack so you can easily access and work with your domains and subdomains without any issues.

When do you get this error?

WordPress Multisite requires you to have different domain names for each site. If you haven’t this configured, and you are trying to access the administration dashboard by using the IP address, you will get the following error message:

ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.

For this reason, some browsers don't allow you to use an IP address as a domain for cookies and they block the login to your subdomains. This is a well-known issue in browsers such as Google Chrome or Safari, but in Bitnami, we have solved this issue, making your first steps with WordPress Multisite seamless.

How did Bitnami solve the "WordPress Multisite cookies issue"?

By default, Bitnami WordPress Multisite stack is configured with a xip.io transparent domain. This means that whenever you want to access to your site using an IP address, it is automatically associated to a domain name, so that the cookies issue is avoided. For example, imagine that you are trying to access your site using the IP address 10.0.0.1. When you enter this IP address in your browser, this IP is automatically associated with the domain 10.0.0.1.xip.io so you can access the site without getting any errors. The following is an example of how this works:

Bitnami WordPress Multisite default domain

This solution not only applies to the primary site, but also to all the subsites you manage through your WordPress Multisite. Thus, if the IP address of the primary site is 10.0.0.1 you can add a subsite called mysite and access it by browsing mysite.10.0.0.1 which is automatically associated with mysite.10.0.0.1.xip.io.

Bitnami recommendation for WordPress Multisite

If you have not yet deployed the Bitnami WordPress Multisite, now is a great time to try this new feature in your preferred platform. You can launch it in the cloud or by performing a local installation.

When connecting to the application through a browser, despite the fact that you don't need to manually configure your subdomains to access your different sites, it is highly recommended to use domain names in your sites instead of IP addresses.

Check out our documentation to find the different scenarios you face when configuring a domain in WordPress Multisite. Configuring the domain and solving any issues you find as a result of special requirements for different browsers only takes a few minutes.

Happy blogging!