Configuring DNS
-
Starting a brand new website and running into issues with setting up Multisite. i want to use subdomains (like username.my-domain.net ).
I have WordPress set up for that by the instructions here.
http://codex.wordpress.org/Create_A_Network
(Thanks, Ipstenu!)
Now I’m trying to configure the DNS side of things.
I set up a ‘A’ record in my DNS on Godaddy.
Host | Points To
—————————
* | IP Address of ServerThen my Apache 000-default file:
<VirtualHost *:80>
DocumentRoot /var/www/websites/My Directory.net
ServerName http://www.my-domain.net
ServerAlias *.my-domain.net
</VirtualHost>All well and good. I log in with no problem, although my browser points to my-domain.net instead of http://www.my-domain.net.
When I try to go in to the Super-Admin dashboard, it logs me out and won’t let me log in. It tries to route me, I’ve noticed, to http://www.my-domain.net/wp-admin/network, but I can’t get to http://www.my-domain.net no matter what I try. It keeps taking me to my-domain.net without the “www”. Seems to me that it’s an Apache configuration issue.
I get a lot of lines similar to this in the error.log:
File does not exist:/var/www/websites/my-domain.net/users
There shouldn’t even be a file called that, right?
I’m a bit confused here and would appreciate some help.
Thanks, all!
- The topic ‘Configuring DNS’ is closed to new replies.