Domain module installed, enabled, configured

created WildCard DNS entry *.mysite.com

made sure $cookie_domain was set in settings.php

went to site building >> url aliases but didn't see any subdomain settings option

set ~: to "no action" in the punctuation settings

Home » Administer » Site building » Domain
created domain record for sub.mysite.com
assigned theme and settings

When I go to sub.mysite.com in my web browser it just redirect to mysite.com homepage. I created content for sub.mysite.com and the node seemed to be created just fine but when try to view it I get a page not found … I did notice that the url is mysite.com/~sub/node which makes me think I missed a step in setting it up somewhere. I've searched the readme and install files as well as the forum but can't figure out what I missed. Any advice?
Thanks.

Comments

agentrickard’s picture

You likely have Wildcards misconfigured or your host is breaking things see the handbook pages for CPanel and other notes. Requests to sub.example.com should not resolve to example.com/sub. That's misconfiguration at the server level. Make sure that *.example.com resolves to web root.

Four questions:

-- Drupal page not found or Apache page not found? There is a huge difference.

-- What happens when you try to load:

sub.example.com/LICENSE.txt ?

This is Drupal core's license file, and should be served without invoking Drupal.

-- What are Punctuation settings?

-- Why are you asking about Url settings? That's totally irrelevant.

agentrickard’s picture

The forums won't help. See http://drupal.org/node/1068894 and related pages for the proper documentation.

mefisto75’s picture

disregard. my issue is fixed per http://drupal.org/node/296103

agentrickard’s picture

Status: Active » Closed (duplicate)