Part Four: Deleting The Real DNS Record
This is the final, and most hazardous, part.
When both a real and virtual subdomain exist with the same name the real subdomain’s DNS record must be removed to enable the site hosted by the virtual subdomain to show when viewed with a web browser.
Typically (with cPanel, anyway), the deletion of a subdomain’s DNS record does not delete the files within the directory the DNS record is created against. If you want to be safe, back-up your real subdomain’s files before proceeding. I accept no responsibility for your actions!
As you likely created your original subdomain, I’ll leave you to work out how to remove it (this is not the one created within WordPress MS). Usually this involves clicking “Subdomains” in your web host control panel (e.g. cPanel), finding the relevant subdomain (e.g. old.domain.tld) and deleting it. Do not delete its directory, just its DNS record.
Once the real subdomain has been deleted, point your browser to the new version of the old site. The address will be the same as the old subdomain (e.g. old.domain.tld). If it doesn’t load it means something has gone wrong or you’re looking at the wrong URL – take corrective steps.
Check the URLs. Make sure the browser address bar shows the same URL for the posts viewed as would be displayed were you viewing the site at the original (real) subdomain, ensure links still point to their proper places, check that images load properly and link properly. Delete the real subdomain directory if you’re satisfied the new Multi Site site functions as it should and that you no longer need any of the files contained within it.
Recreate the subdomain DNS record if you want to revert to the original (real subdomain) site (backup the directory first). If you do revert back to the original version of the site, you can safely remove or deactivate the virtual WordPress subdomain site from your Super Admin control panel.
You have done incredibly well if you’ve come this far. You should be proud of yourself for successfully transferring your old subdomain installation to a new WordPress Multi Site controlled virtual subdomain installation.
And, now, after writing these 2731 words during most of today’s hours, I am going to get back to setting up my new website which advertises my WordPress Installation and Set Up business – yes, I can be hired to do this for you. Prices vary according to the size of each individual site and the number of individual sites to be relocated. Conversion of a main blog to WordPress Multi Site and the transfer of a small real subdomain site to a WordPress virtual subdomain site typically costs only £99.95. Use the contact form to learn more.