I have 2 domains already working. I recently added a third but can not get access to it. Added the domain to my host, directed to root, same name servers as the other two. It keeps redirecting to my default. What am I doing wrong?
| Comment | File | Size | Author |
|---|
Comments
Comment #2
agentrickardThis is not an actionable report.
Comment #3
esquareddesign commentedMy default domain is www.SecurityProductsInc.com
I have added www.Cannabis-Security.com
I have set the name servers correctly and the DNS but it still directs to the default. Have I missed something?
Comment #4
agentrickardIs it issuing an actual redirect, or just behaving as if it were on the default domain? (Those are two separate behaviors.) Try using the provided "Domain server information" bblock to see how Drupal is processing the request.
The only reason the module would normally issue a redirect is if your new domain is set to "inactive" and the user does not have permission tio access inactive domains.
Comment #5
esquareddesign commentedBelow is what I get with the "Domain server information" block when i try to go to www.Cannabis-security.com.
Domain server information
Configure
Property Value
HTTP_HOST request www.securityproductsinc.com
Domain match TRUE
domain_id 1
subdomain www.securityproductsinc.com
sitename Security Products Inc
scheme http
valid 1
weight -1
is_default 1
machine_name www_securityproductsinc_com
path http://www.securityproductsinc.com/
site_grant TRUE
aliases
Comment #6
agentrickardThat suggests a hostfile configuration issue or perhaps a mapping is sites.php if you have one.
Drupal clearly doesn't think the request is coming from www.Cannabis-security.com. That HTTP_HOST request value is coming directly from your server and indicates that the problem lies outside of Domain.
Here's the relevant output code:
Comment #7
esquareddesign commentedI did a DNS trace and I get the following:
Comment #8
esquareddesign commentedComment #9
agentrickardI cannot help you debug DNS. I can only tell you what the code is responding to. Clearly, the HTTP_HOST being passed to Drupal is not what you expect.
Comment #10
agentrickard