WordPress.org

Ready to get started?Download WordPress

Forums

Sub domain from a parked domain (14 posts)

  1. costeph
    Member
    Posted 7 months ago #

    Hello,
    I've a MU running the MU domain mapping plugin, it working fine but I wanted to map a subdomain from a non-main blog domain, something like this:

    site1.com (primary blog - ok)
    eng.site1.com (working)
    site2.com (mapped from xyz.site1.com - working)
    eng.site2.com (that is the question...)

    Can you advise me on the way to map correctly eng.site2.com wich is actually xyzeng.site1.com .

    Thanks you. Have a nice day

  2. Map eng.site2.com to xyzeng.site1.com just like you mapped site2.com to xyz.site1.com.

  3. costeph
    Member
    Posted 7 months ago #

    do I need to add a wildcard or a A record in my dns setting for site2.com? because blog id 4 (xyzeng.site1.com) mapped to eng.site2.com doesn't seem to work.

  4. That depends on what 'doesn't work' means and how you added site2.com in the beginning. I was lazy and just made a cPanel subdomain for foo.site2.com :)

  5. costeph
    Member
    Posted 7 months ago #

    It doesn't work because I can't access to eng.site2.com :-) , I can access it by xyzeng.site1.com, site1 is the main blog (id 1), site2 is site2.site1.com wich is already mapped to site2.com . I tried creating a subdomain in cpanel for eng.site2.com pointing to the main directory, but it doesn't work either.

  6. What does "I can't access..." mean?

    You go to eng.site2.com and see ... what?

  7. costeph
    Member
    Posted 7 months ago #

    I mean a 404 error page, and a few others tests made some infinite redirection loop... I don't find any solution.

  8. And what does the 404 look like? WordPress? A sever error?

  9. costeph
    Member
    Posted 7 months ago #

    Server error.

  10. The issue is NOT WordPress then :) You're not setting up the domain/subdomain right on your server.

    Without domain mapping (the plugin), if you properly setup the new domain, it will redirect to the 'master' domain.

    Check the DNS on eng.site2.com and site2.com- Do they both resolve to the same IP?

    You may need to ask your webhost how to park a subdomain.

  11. costeph
    Member
    Posted 7 months ago #

    Yes it redirect to the main blog without domain mapping of course.

  12. What's the actual server error?

    You'll notice how I'm being really picky about this? If I can't see what you're doing, then you have the responsibility to be as clear as possible about what you're seeing. Saying "an error" or "it doesn't work" doesn't help me understand what the real issue is at all.

    If you could actually give us the real URLs, it goes faster.

  13. costeph
    Member
    Posted 7 months ago #

    I create a sub domain in cpanel xyzeng.site2.com pointing to the root of the main blog aka site1.com -> working

    If I create a domain mapping: xyzeng.site2.com to blog id 4 -> server error 404.

  14. Check the DNS on eng.site2.com and site2.com- Do they both resolve to the same IP?

Reply

You must log in to post.

About this Topic

Tags

No tags yet.