Hello,

I read and follow all the documentation, and the module don't show any error after the installation, I create a user subdomain and a domain record, both are listed and appear active. But when I select one show a 404 Not Found error. For example http://sub.domain.com/node

I'm using a dedicated virtual server in Mediatemple and my account already have the record with *. If I create a subdomain from Plesk this work fine.

Please I'm missing something?

Thanks in advance

Comments

agentrickard’s picture

Is that an Apache 404 or a Drupal 404?

Likely you have a server configuration issue.

If you go to edit the user domain, does it give you an error warning at the top of the page?

RAFA3L’s picture

Is an Apache 404. When I enter to user.domain.com open my default hosting page, but if I anter to user.domain.com/node show a blank page with 404 Not Found.

In all the options in the admin of the Domain module don't show any error, when I create a user I see his own domain in the list, and of course, all this is from the primary domain, but when I try to see his own Drupal site from user.domain.com/node show Not Found.

agentrickard’s picture

You have a server configuration error at the DNS level. Contact your hosting support.

agentrickard’s picture

RAFA3L’s picture

Thanks agentrickard!

My subdomains are working now.

Waht I did:

1 - Create the conf/vhost.conf and write:

ServerAlias *.domain.com
DocumentRoot /var/www/vhosts/domain.com/httpdocs/
AddType application/x-httpd-php .html .php .inc
DirectoryIndex index.html index.php
Options +FollowSymLinks

2 - Then run:

# /usr/local/psa/admin/bin/websrvmng -av

3- All work wonderful!

Thanks!

agentrickard’s picture

Status: Active » Closed (fixed)

Nice. The module (and its documentation) assume that you have this level of control and expertise. It is impossible for me to account for all server configurations.

Best of luck!