Wordpress multisite(Subdomain) is not working.
#1
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?
Computerrage

Code:
*.domain.name	 /public_html 

 


I am using Cpanel.
wp-config.php

Code:
1
2
3
4
5
6
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);


.htaccess

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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]
</IfModule>

#2
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.
#3
(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
#4
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)

Switch to mobile version

Sponsors: Ftpit - ZXPlay - GalaxyHostPlus - Verelox- HostUS - Host4Fun - Evolution-Host - NodeBlade - HostDare - VPSMost


BitCoin donations: 1DQxbstaTb5SWk6QC2gFeQUTFR64JX4cEo