HELP-Apache2 Wordpress WPMU Domain Mapping

:? I have configured Wordpress WPMU. My primary domain resolves fine. I have created a subdirectory site (mydomain.com/testsite)and configured the domain mapping within Wordpress so that testsite.com points to mydomain.com/testsite.

When I browse to testsite.com it takes me to the apache default "It Works" page.

Is there a WPMU guru out there familiar with getting WPMU to work on Linode? I would also like to know if there is a way to run multiple WPMU sites on one ip. Thanks for the help!! :? :? :? :?

Running Ubuntu 12.04 with apache2

Hope this makes sense.

Thanks!

2 Replies

Posting your actual domains is a lot easier for us. Either way, problem is not with with Wordpress but with your vhost config. Post your nginx/Apache config files.

This is my apache virtual host file for this domain.

DEFAULT

ServerAdmin webmaster@localhost

DocumentRoot /var/www/

Options FollowSymLinks

AllowOverride None

Options Indexes FollowSymLinks MultiViews

AllowOverride None

Order allow,deny

allow from all

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None

Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch

Order allow,deny

Allow from all

ErrorLog ${APACHELOGDIR}/error.log

Possible values include: debug, info, notice, warn, error, crit,

alert, emerg.

LogLevel warn

CustomLog ${APACHELOGDIR}/access.log combined

Alias /doc/ "/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

WPMU SITE 1

ServerName prophetixconsulting.com

ServerAlias http://www.prophetixconsulting.com

ServerAlias *.prophetixconsulting.com, visionintodestiny.com

DocumentRoot /var/www/wpmu1/public_html/

ServerAdmin webmaster@localhost

LogLevel warn

ErrorLog /var/www/wpmu1/logs/error.log

CustomLog /var/www/wpmu1/logs/access.log combined

ServerSignature Off

Options FollowSymLinks

AllowOverride All

Options Indexes FollowSymLinks MultiViews

AllowOverride All

Order allow,deny

allow from all

Adding the wildcards has been a workaround that hasn't worked yet. Trying to get Apache to direct to the IP or virtual host, then pass to WP so WP can detect the header and display the proper site. My goal is to allow multiple people to create blog sites. When these sites are created Wordpress should handle all name resolution for each newly created subdomain. Then users can point their domain to my IP and WPMU will look for header, resolve and display proper site.

Thanks for your reply!!!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct