Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jun 15, 2013 7:58 pm 
Offline
Newbie

Joined: Sat Jun 15, 2013 7:21 pm
Posts: 2
:? 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!


Top
   
PostPosted: Sun Jun 16, 2013 3:38 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
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.


Top
   
PostPosted: Sun Jun 16, 2013 4:21 pm 
Offline
Newbie

Joined: Sat Jun 15, 2013 7:21 pm
Posts: 2
This is my apache virtual host file for this domain.

# DEFAULT
<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www//>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
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>


# WPMU SITE 1
<VirtualHost *:80>
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

<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/wpmu1/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>

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!!!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group