WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 3.0 Multisite; domain mapping AND subdomains? (38 posts)

  1. bdoreste
    Member
    Posted 4 years ago #

    I am running a 3.0 multisite subdomain installation with Donncha's domain mapping plugin, and have several domains mapped as follows:

    mainsite123.com
    blog1.mainsite123.com -> blog1.com
    blog2.mainsite123.com -> blog2.com
    blog3.mainsite123.com -> blog3.com
    etc...

    I want to map an additional blog as the following:
    blog4.mainsite123.com -> blog4.someotherdomain.com
    where the main site of someotherdomain.com is non-WP, ASP content, hosted on an entirely different server.

    how do I accomplish this task, if it is even possible?

    the A-records for all of the above domains/hosts point to the WP install as I outlined in the post at:
    http://wordpress.org/support/topic/407121?replies=12

    Andrea? ;-)

  2. Mike
    Member
    Posted 4 years ago #

    This could easily be done on the DNS level. Create an A record for blog4.mainsite123.com to point to the same IP as blog4.someotherdomain.com

    The destination server will begin serving up requests for blog4.mainsite123.com so if you want the address to change, you will need webserver redirections on the destination server.

  3. A records are used for tld's. For subdomains, you can use a CNAME, same process. Send it to the domain of your wordpress install.

    (yes, it works. :) )

  4. bdoreste
    Member
    Posted 4 years ago #

    ok, so I create a CNAME record such as:
    blog4.mainsite123.com. 3600 IN CNAME blog.someotherdomain.com.

    do I remove the A-record pointing blog.someotherdomain.com to my WP multisite install?

    do I need to map anything under 'tools > domain mapping'? or change the home or siteurl in 'super admin > sites > edit'?

  5. do I need to map anything under 'tools > domain mapping'?

    Yes, you'll still need to map that subdomain to the right blog.

    or change the home or siteurl in 'super admin > sites > edit'?

    no, don't do this. :)

    ok, so I create a CNAME record such as:
    blog4.mainsite123.com. 3600 IN CNAME blog.someotherdomain.com.

    do I remove the A-record pointing blog.someotherdomain.com to my WP multisite install?

    If it's not interfering with anything you can leave it.

    ok, so I create a CNAME record such as:
    blog4.mainsite123.com. 3600 IN CNAME blog.someotherdomain.com.

    No, you point it to the *main* install.

    mainsite123.com. 3600 IN CNAME blog.someotherdomain.com.

    WP will look it up in the db and server the right blog.

  6. bdoreste
    Member
    Posted 4 years ago #

    yay, it works!

    I removed the A-record for blog.someotherdomain.com, and put blog.someotherdomain.com in the 'Add New Domain' box under 'tools > domain mapping' and checked it as primary.

    thanks so much Andrea, once again! :)

  7. helpin
    Member
    Posted 4 years ago #

    I am getting some errors using these plugins .Can I mask domain without using domain mapping plugins?

  8. How about resolving the errors? :)

  9. asshu
    Member
    Posted 3 years ago #

    Hi ! I am having a problem with domain mapping ...

    I am trying to set the custom domain mapping .
    1)I have installed custom domain mapping plugin to my iliked.info .
    2)I pointed my shared hosting 's IP 174.120.205.195 and cname as iliked.info .As it failed I parked a domain c.iliked.info to 74.120.205.195
    Main domain :
    iliked.info. 14400 IN A 174.120.205.195
    localhost.iliked.info. 14400 IN A 127.0.0.1
    *.iliked.info. 14400 IN A 174.120.205.195

    c.iliked.info. 14400 IN A 174.120.205.195
    localhost.c.iliked.info. 14400 IN A 127.0.0.1

    3)To test whether it is working I created a site . test2.iliked.info and tried to map it by try.gget.info .(I created cname records to iliked.info )

    But the custom domain is being redirected to my host's stats page.

    I tried in many ways using i)...Tried configuring both cname and IP at my site's domain mapping page .
    ii)using parked domian cliked.info etc.

    I am getting the same error again and again.

  10. You forgot the part where you add your mapped domain to your shared hosting account. It doesn't know what to do with it when it gets the request.

    If it's cpanel, go to "park a domain".

  11. asshu
    Member
    Posted 3 years ago #

    I tried that !
    But I think I make mistake some where . I don't understand what to do .
    I have parked c.iliked.info
    Created a cname record for try2.gget.info to c.iliked.info .I also created A name record for try.gget.info and pointed that too in that wordpress testing site(test2.iliked.info) :) thinking that any of those two domains work for me.

  12. You're parking them on the wrong spot. Park them on top of iliked.info because that is your main install. That's what handles the request.

  13. asshu
    Member
    Posted 3 years ago #

    I am not sure what domain to park on top of iliked.info ? c.iliked.info or try2.gget.info ?

    thank you !

  14. the second domain you're trying to map.

  15. asshu
    Member
    Posted 3 years ago #

    Hi Andrea ! Sorry for disturbing you again.
    I created a screen cast of my domain configuration settings. It includes the cpanel settings and domain mapping.The video length is just 2.30 Minutes.
    http://www.castforge.com/asshu/114
    Could you help me to solve the issue. I tried it in many ways .But can't able to figure it out.

    I pointed my shared hosting 's IP 74.86.202.40 and cname as iliked.info.
    I configured it on domain mapping plugin's page.
    Main domain :
    iliked.info. 14400 IN A 74.86.202.40
    localhost.iliked.info. 14400 IN A 127.0.0.1
    *.iliked.info. 14400 IN A 74.86.202.40
    localhost.c.iliked.info. 14400 IN A 127.0.0.1

    3)To test whether it is working I created a site . test.iliked.info and tried to map it by
    1)try.gget.info .(I created cname records to iliked.info and parked it to 74.86.202.40)
    2)try.pingit.info
    3)try.rraj.in

    Thank you !

  16. I pointed my shared hosting 's IP 74.86.202.40 and cname as iliked.info.

    If you fill in the CNAME in the domain maping menu, it will override the IP address.

    It says that in the the text right below the field. Do not fill in the cname area unless you are going to use it.

  17. asshu
    Member
    Posted 3 years ago #

    Thanks for your quick reply !
    I tried it without filling Cname too.As you suggested I need to use any one of them .I prefer using cname.
    I will remove the Numeric IP from domain mapping page .

    Could you suggest me If i am missing anything from over all configuration.
    BTW I am being redirecting to signup page If I use only IP or only Cname.
    ****
    Another doubt If a user X need to configure his own domain like name.hisdomain.com creating cname record or pointing to my IP from his domain panel or cpanel .Am I need to park his domain?

    Thanks again !

  18. BTW I am being redirecting to signup page If I use only IP or only Cname.

    This is a big hint. It means WordPress can't find the domain in the database.

    Which usually means you didn't fill in the domain under Tools->Domain Mapping.

    Another doubt If a user X need to configure his own domain like name.hisdomain.com creating cname record or pointing to my IP from his domain panel or cpanel .Am I need to park his domain?

    Yes, you do.

  19. asshu
    Member
    Posted 3 years ago #

    Sorry for asking more questions.

    This is a big hint. It means WordPress can't find the domain in the database.

    Which usually means you didn't fill in the domain under Tools->Domain Mapping.

    I am not sure If I follow I filled the numeric IP as recommended in the documentation.AM I missing some thing else?

    BTW Do you mind If request you to look at the issue and make you as super admin .Can I ask that help ?

    Thank you !

  20. asshu
    Member
    Posted 3 years ago #

    ----

  21. This is a big hint. It means WordPress can't find the domain in the database.

    Which usually means you didn't fill in the domain under Tools->Domain Mapping.

    I am not sure If I follow I filled the numeric IP as recommended in the documentation.AM I missing some thing else?

    Yes, you are.

    Go to the SUBsite. Look at the Tools -> Domain Mapping menu item. there is a text field there. Fill in the domain you want to map.

  22. asshu
    Member
    Posted 3 years ago #

    I already did it when I first asked about this here a 7 days ago.
    I filled three domains there at domain mapping menu.
    one domain is one of the parked domains.
    second is pointed to numeric IP from external domain panel.
    third is created via cname.

    I am trying these three domains hoping that at least one domain works with correct configuration.Before this I tried masking with just one domain .

  23. Undo everything you did.

    Pick ONE domain.
    Rewmove the cname for now as it *overrieds* the IP address method.

    If you're using the IP, you *also* have to park the domain in cpanel.

  24. asshu
    Member
    Posted 3 years ago #

    If you're using the IP, you *also* have to park the domain in cpanel.

    Which one ?If I use try.pingit.info to mask test.iliked.info .I should park the domain try.pingit.info .Am I correct?

    Thank you !

  25. you;re supposed to be parking a *full* domain on top of the actual install (not the sub blog).

  26. asshu
    Member
    Posted 3 years ago #

    I tried it as "addon" and set the root as
    pingit.info Homepublic_html/iliked.info pingit not redirected

    later I used DNS editor.It shows :
    pingit.info. 14400 IN A 74.86.202.40

    Later I filled pingit.info at my test.iliked.info site's domain mapping page .

    But failed .

  27. asshu
    Member
    Posted 3 years ago #

    I tried this with a new wordpress multi site installation.It worked well for me when I try to mask the domain like test.mydomain.com with mask.mydomain.com .But it is not working If I am trying to mask any domain other than this main domain of installation.
    If I try to use domain2.com to mask test.mydomain.com .It’s going to signup page.
    Am I missing some thing?
    Thank you !

  28. Do not Mask it, use the "park a domain" feature in cpanel.

    What host are you on?

  29. asshu
    Member
    Posted 3 years ago #

    I am using Arvixe.com 's shared hosting .It has cpanel .

  30. Then you use the Parking feature in cPanel.

Topic Closed

This topic has been closed to new replies.

About this Topic