Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter MarcoP

    (@nerkis)

    I forgot to mention:
    1. sunrise.php file we added to public_html/wp-content/
    2. domain_mapping.php file we host in wp-content/mu-plugins/

    Plugin Author Ron Rennick

    (@wpmuguru)

    The web server config changes look correct. However, Apache needs to be restarted for them to take effect. Normally your control panel software will do that whenever you change your config but sometimes that doesn’t happen.

    Contact your host support and ask them to restart Apache.

    Thread Starter MarcoP

    (@nerkis)

    Thanks for help. I tried to restart apache with command: “service httpd restart” but nothing new.

    It is really headache… ?? Could it possible problem in the server configuration?

    We were not able to create subdomain shoes.mobifor.com but after we added “ServerAlias *.|DOMAIN|” to “Custom HTTPD Configurations” it was OK. So it seems that apache was restarted automatically after we added that line.

    Plugin Author Ron Rennick

    (@wpmuguru)

    |DOMAIN| is a placeholder for your domain name.

    Thread Starter MarcoP

    (@nerkis)

    I tried to check cname of domain celebritybeep.com with tool https://www.intodns.com

    And it looks ok, here is a screen shot: https://prntscr.com/3q0rot

    Or it should be to be done in different way?

    Plugin Author Ron Rennick

    (@wpmuguru)

    I tried to check cname of domain celebritybeep.com with tool

    DNS runs outside your server. It isn’t going to tell you anything about whether your web server configuration is correct/working properly.

    I was tearing my hair out over this one, and then I remembered, the user has a choice in > Tools > Domain Mapping ~ where you can choose to set either the subdomain or the mapped domain, as the primary domain for the blog.

    Worked for me, but your mileage may vary.

    Thread Starter MarcoP

    (@nerkis)

    Dear Ron,

    so could you be specific what i have to do in my server configuration? (in httpd.conf?) Or Do I need to change something else on server?

    Ok i had set cname for domain, so Am i clear: server should take CNAME information from domain DNS and redirect that domain to shoes.mobifor.com ?

    Or plugin should redirect domain celebritybeep to shoes.mobifor? Is it sunrise.php must to do ? Or how its working?

    Thanks for your time.

    Thread Starter MarcoP

    (@nerkis)

    Whats more, i tried all the way to redirect celebritybeep.com to mobifor.com (main network domain). So at this moment i am forwarding domain celebritybeep.com to mobifor.com but mobifor.com doesnt redirect to shoes.mobifor.com

    Does sunrise work with forwarding?

    Thread Starter MarcoP

    (@nerkis)

    After two days research finally i understood where is the problem.

    In my DirectAdmin in “Domain Pointers” i manually created ALIAS

    celebritybeep.com -> mobifor.com

    So after this action server knows where should to point celebritybeep.com and everything was working.

    But it is manual action… If i will have 100 clients, so i will have to add point 100 time to mobifor.com

    So it is possible to do that all domains will have auto ALIAS to mobifor.com ?

    Plugin Author Ron Rennick

    (@wpmuguru)

    If i will have 100 clients, so i will have to add point 100 time to mobifor.com

    Yes.

    Thread Starter MarcoP

    (@nerkis)

    So it isnt posible to automatize it?

    Plugin Author Ron Rennick

    (@wpmuguru)

    So it isnt posible to automatize it?

    I didn’t say it was impossible.

    I wouldn’t guess at how much work might be involved in automating it but I can assure you that automating it is going to be a lot more work than adding the 100 manually.

    Dear Ron,
    About pointing domain nowhere mentioned about this… So maybe you may add this info in plugin description? Or is it working without pointing domains at shared hosting ?

    Thread Starter MarcoP

    (@nerkis)

    hi,

    In Domain Mapping settings user must enter domain with www. and without it because if he will enter only without www. the domain with www. redirects to shoes.mobifor.com

    for EX:

    celebritybeep.com => celebritybeep.com
    https://www.celebritybeep.com => shoes.mobifor.com

    But we need that celebritybeep.com and https://www.celebritybeep.com works as one.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Cant map domain to sub.maindomain.com’ is closed to new replies.