Resolving local address & Wildcard DNS?
-
Hi!
Im hosting a couple of standalone wordpress sites and two multisite (both with wildcard dns) on one server. I’ve always had problems using the “upgrade network”-feature on the multisite installs and end up upgrading each blog manually. When I try to uprade network i get this:
Warning! Problem updating https://subdomain.domain.com. Your server may not be able to connect to sites running on it. Error message: Couldn’t resolve host ‘opera.wordpress.glerner.com’
Finally realized that this was becuase the server couldnt resolve the public hostnames. A solution could be to add each domain (and subdomain) to the local hosts file but that seems way too messy.
Im using Apache with virtual hosts, config for one of the multisite vhosts:
<VirtualHost *> ServerName domain.com ServerAlias https://domain.com ServerAlias *.domain.com DocumentRoot /var/www/domain <Directory /var/www/domain> Options Indexes +FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
Is there anyway to fix this without having to struggle with the hosts file?
- The topic ‘Resolving local address & Wildcard DNS?’ is closed to new replies.