I just enabled multisite in Wordpress and I get this message:
Warning! Wildcard DNS may not be configured correctly!
The installer attempted to contact a random hostname (3757b5.mysite.no) on your domain. This resulted in an error message: Could not open handle for fopen() to http://3757b5.mysite.no
I'm not getting these errors for single site installations, just when I enable multisite.
My web server is running on Ubuntu 11.1 on my Virtual Machine (VirtualBox).
And to be clear: this is on my local development computer. It's not on a ISP server.
I've checked php.ini
to see if fopen is enabled, and it is:
allow_url_fopen = On
The default Apache config file found in /etc/apache2/sites-avaialble/default
looks like this:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
And the Apache config file for my site looks like this:
<VirtualHost *:80>
DocumentRoot /var/www/mysite/
ServerName mysite.no
ServerAlias *.mysite.no
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/storelocator/>
AllowOverride All
Allow from all
</Directory>
</VirtualHost>
Does anyone know what I can try to solve this issue?
NOTE
To access mysite.no and my subsite, I have updated my HOST file which resides on my computer (Win 7):
10.20.23.104 mysite.no
10.20.23.104 engelstad.mysite.no
*.mysite.no
. Is that a placeholder for a domain name that you own? Or is that literally what you have configured, and you're looking to have that domain point to the local Apache service for requests that come from your computer?