DNS Issue?

erich199

New member
Joined
Jul 29, 2014
Messages
3
Hi,

I'm new to DirectAdmin and I absolutely love it as a control panel for my server.

I was following the directions to enable wildstar subdomains to enable Wordpress Multisite. It seems it is working, as I'm able to create a site in the network and visit the admin dashboard of the subdomain without an issue. However; when I actually visit the subdomain (ie subdomain.domain.com) I get the standard "Apache is functioning normally" page. Is this due to a DNS issue?

Also, I've set up a custom vhost to give each new domain set up an A record for a roundcube "webmail.domain.com" for some reason, when I visit it, it's taking me to the main site wordpress sign up page?

Any help is greatly appreciated, I've been pulling my hair out over this and I'm sure it's something very simple I've overlooked.

Thanks again!
 
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerAdmin webmaster@localhost
#AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
UserDir public_html
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir
</VirtualHost>

<VirtualHost xxx.xxx.xxx.xxx:443>
ServerAdmin webmaster@localhost
#AliasMatch ^/~([^/]+)(/.*)* "/home/$1/public_html$2"
UserDir public_html
DocumentRoot /var/www/html
ServerName localhost
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
CustomLog /var/log/httpd/homedir.log homedir

SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca
</VirtualHost>

I replaced my IP with x's
 
Thanks for your help.

It seems the wildcard domain with multisite was a DNS issue. Shortly after I posted for help, they started to work. However; the webmail domain isn't working but I'm still trying to hash it out.
 
First be sure the correct IP# is being returned.

Check DNS from any desktop, laptop, or server (command line):
Code:
nslookup SUBDOMIN.EXAMPLE.COM
where you replace this with the subdomain/domain pair not working for webmail.

Make sure the IP# returned is being directed to the server.

Make sure you can reach webmail this way:
Code:
http://1.2.3.4/webmail
where 1.2.3.4 is replaced by the IP# returned.

That should work and direct you to your webmail client.
If it does, then the problem may be in a change you made to the apache configuration files. If it doesn't work, then the problem may be in the way DirectAdmin routes domains to the proper aliases.

Jeff
 
Back
Top