SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu Linux 24.04.1 |
Webmin version | 2.202 |
Virtualmin version | 7.30.3 Pro |
Webserver version | Apache 2.4.58 |
Related packages | PHP 8.3.6, MariaDB 10.11.8 |
Hello,
I am completely new to VirtualMin. I have administered Windows IIS servers before (but I may be rusty there).
I have a handful of websites on an old Windows IIS server that I need to move to a new VirtualMin server. Most of them are just .html sites with which I expect no trouble.
I’m having trouble moving the first site that is on Wordpress (one of two on Wordpress). This first one has very little content (virtually none, in fact).
Info on old Windows IIS server: Windows 2016, IIS 10.0.14393.0, PHP Version, WordPress 5.0.2
What I have tried so far:
- Create site in VirtualMin,
- Install Wordpress in that site in VirtualMin.
- Copy all contents of the wordpress directory from IIS to VirtualMin via FTP into public_html directory.
- Use MySQL Workbench to export the db, and execute it in Maria DB
- Make appropriate DNS changes to point domain to the new VirtualMin install.
This results in a blank web page load - like you get with an incompatible theme or plugin. The theme is a Wordpress created theme (Twenty Seventeen, not a third party theme). No plugins.
Okay, fine. I’ll just make it from scratch, I thought, since this site really has no content that can’t be duplicated quickly.
So, I created a new site in VirtualMin - new.domain.ext.
Installed Wordpress.
Logged in to Wordpress.
Installed the theme we have been using.
Populated the site with content.
Site is ready.
In VirtualMin, moved files up to public_html so the url is just new.domain.ext (rather than new.domain.ext/wordpress).
So far, so good.
Now I’m ready to make this site “live” as domain.ext.
I changed DNS to point to the VirtualMin server and then, under Manage Virtual Server, changed the domain name from new.domain.ext. to domain.ext.
Examined DNS records for accuracy.
But now when I load the site in a browser, it is missing the theme, all images, etc., and when I click anything or add /wp-admin to url to try to get to Wordpress backend, I can see on browser address bar that file paths are broken - still have the “new.domain.ext.”
I have also tried setting up new.domain.ext as a sub-domain in VirtualMin and then moving it up to top-level. Same broken file paths.
When I get to work on the other Wordpress site, I will need to be able to migrate rather than recreate, as it has many posts (with photos, etc.)
If anyone would be so kind as to tell me where I’m going wrong, what step I’m missing, or that I’m going about it all wrong and should be doing it another way, and hold my hand, so to speak to guide me step-by-step, I would be most grateful.
Thanks!
~Katie