0

I recently installed multisite to my main site. I put a registration link at the top of my page. I tried registering a new site and user. The steps were straight forward with username, email, and then on the next page the URL creation.

An email was successfully sent to the correct email registration with the link

http://123456789abc.atmydevice.com/wp-activate.php?key=3713068298425278

to follow to activate the new site.

However, this link can not be found and when I check my sites on the admin page for multisite there is no new site for 123456789abc.xxx.com

Any idea what I'm missing?

  • What permissions does your database user have? – Naweed Chougle Dec 3 '15 at 21:01
  • I think I have to add: Did you add the wildcard *.domain.ext as a DNS record? How do I do this? – AC Grindl Dec 3 '15 at 23:12
  • That has to be done in your virtual hosts file of your web server. – Naweed Chougle Dec 4 '15 at 0:32
0

You might have missed the right configuration in your hosts file.

Assuming you are using Apache on a Linux server and vi editor, open this file:

sudo vi /etc/apache2/sites-available/example.com.conf

Since you have installed Multsite as subdomains, adjust your directives to include these:

Listen 80
<VirtualHost *:80>
  DocumentRoot "/var/www/example"
  ServerName example.com
  ServerAlias *.example.com
</VirtualHost>

Note that ServerAlias can help you with wildcard entries.

After making the changes, make sure you restart Apache with this command:

sudo restart apache2

Try running your activation link again and let us know if it works.

  • 1
    I uninstalled and reinstalled multisite, and went through the steps again, now knowing all the correct steps to follow. So the second time around I got everything to work just fine. – AC Grindl Dec 9 '15 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.