Wordpress multisite(Subdomain) is not working.
I installed and made all the changes to a WordPress site. Its ok I can create all the sites and update subdomain to the wildcard and point to wp-config. But when I am trying to go through subdomain got the dns error.
Am I missing something?
*.domain.name     /public_html

I am using Cpanel.
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'domain.name');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);


# BEGIN WordPress
<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
Ok, Just added the wildcard DNS to cpanel and it is working. As let's encrypt doesn't give wildcard SSL I can't implement it.
(2017-11-16, 3:42:15 pm)tukai Wrote:  As let's encrypt doesn't give wildcard SSL I can't implement it.

It will soon start to provide Wildcard TLS certificates (SSL is dated). Somewhere in 2018.

Check it out: https://letsencrypt.org/2017/07/06/wildc...-2018.html
We are the sum of our memories. Erasing the memories edged in oneself is the same as loosing oneself.
Yes, that's true. But can't use it immediately. We nearly add a subdomain to main domains SSL certificate. Which I don't know how to do in Cpanel.

Users browsing this thread: 1 Guest(s)