Can I use domain mapping with a temporary domain name ?

I have a temporary domain name, but when I map domains to the IP they just show me that it's invalid and the link take me to an empty directory.

  • Ash

    Hello Zach

    The temporary domain you are using, is currently showing the following message:

    No input file specified.

    Besides, the temporary domain will work ONLY if the IP is forwarded to that domain as well as this is a dedicated IP.

    That being said, if the temporary url is 111.222.333.444/~temp then you have to configure in such way so:
    1. 111.222.333.444 is a dedicated IP and
    2. When someone enters to 111.222.333.444 it is forwarded to 111.222.333.444/~temp

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,
    Ash

    • Zach

      And does this apply to multi-site installations?

      As of right now, my dedicated IP [ 199.250.196.26 ] just shows an 'Index of /' page.

      So, in a nutshell, you're just saying to forward my dedicated IP to the temporary domain?

      Well, how would I go about doing so?

      My web host had this to say, but couldn't help on the matter because they don't provide support for a multisite installation:

      "a multi-site installation takes the URL used to access the files and uses that information to load the correct database tables, it's not accepting the temporary URL because the temporary URL is not configured within the site.

      We can confirm that the temporary URL itself is functioning as it can be used to load specific files within the public_html for digit546 that do not specifically relate to the multi-site. Such as this test file:

      http://199.250.196.26/~temp/test.txt "

      Thanks,
      Zach

  • James Morris

    Hello Zach

    Using a temporary URL such as http://199.250.196.26/~temp/ is not really advisable for setting up a Multisite or Domain Mapping, but it is possible.

    You will need to make sure all your WordPress files are hosted in the directed indicated in the temporary URL as this is your user web root path. So, in your case, if the URL is http://199.250.196.26/~temp/ all your files should reside in ~temp/.

    Then, you would call this URL and perform the famous WordPress 5 minute setup with that full URL as the domain entry.

    Once installed and configured using that URL, you can then install Domain Mapping and set 199.250.196.26 as the IP address. Domain Mapping doesn't really care about the domain it's hosted on, only whether the domain being pointed to it resolves to that same folder.

    So, if your IP address is truly static and all records for that IP point to the ~temp/ directory, in your domain registrar, you should be able to point the new domain to be mapped to the subsites using an A Record, to the 199.250.196.26 IP and it should work. If it does not, we'll be happy to dig into this issue further for you to help you get this sorted.

    Best regards,

    James Morris

  • James Morris

    Hello Zach

    If not, then what is the ideal method for getting domain mapping to work with Multisite without the use of a temporary URL? And, why isn't it advisable to use a temporary URL?

    You don't have to use the temporary URL but you do have to have either a fully qualified domain name or an IP address and path for WordPress to run on. The issue isn't Domain Mapping, but WordPress. You have to have a web accessible address for it to work.

    It's not advisable to use a temporary URL because, eventually you'll want to use a permanent domain (FQDN) like yourbusiness.com and switching from http://199.250.196.26/~temp/ to http://yourbusiness.com/ is a bit advanced and can be a little tricky if you're not use to doing such migrations.

    The better approach is to purchase your permanent domain and setup everything under it. It's entirely possible to use a temporary domain and migrate later, but if this is your first time doing this, you may find the migration to be a little overwhelming the first time you try it.

    Best regards,

    James Morris

  • Zach

    That's the thing, I've already installed WordPress under my primary domain. However, domain mapping doesn't work and always returns an internal 500 error.

    Which is why I'm asking about the temporary URL/ dedicated IP.

    http://199.250.196.26/~temp/ returns with 'No input file specified'

    And my dedicated IP, http://199.250.196.26 returns with an 'Index of /' blank page even though WordPress is installed under my primary domain and a test .txt file runs fine on the dedicated IP.

  • James Morris

    Hello Zach

    Hmm... Yeah, something's not right. In order to help you better with your issue, would you please grant me access to your site and server so I can perform some advanced debugging?

    NOTE: Please make a full backup of your site before sending the following information.

    Please visit the Contact page and complete the form with the following information:

    https://premium.wpmudev.org/contact/#i-have-a-different-question

    Option: I have a different Question

    Subject: "Attn: James Morris"

    In the Message box, please provide the following:

    - link back to this thread for reference
    - any other relevant urls

    - Admin login:
    Admin username
    Admin password
    Login url

    - Hosting Control Panel Login
    Admin username
    Admin password
    Login url

    Best regards,

    James Morris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.