Changing domain names? (noob help)

I was trying to do the kids at my son's school a favor helping them create a multi user market for the kids, so I registered and hosted the domain kidmarket.one. But, the kids recently decided that sounded like child trafficking so I registered makermarket.xyz. Since i only barely understood how I configured the wordpress/woocommerce and dokan software, (and got linode to release smtp), and since it is all currently working (on the old domain), is there a way to issue a cert for makermarket.xyz (and not care what happens to the kidmarket.one domain name)? Do I need to start over with a fresh install or can I "move" the site a different domain?

My domain is:
kidmarket.one

My web server is (include version):
I used the Wordpress default build on linode so i'm not really sure. I notice that there is apache2 in /etc if that means anything...

The operating system my web server runs on is (include version):
debian 10

My hosting provider, if applicable, is:
linode

I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
No.

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):
certbot 1.26.0

Sorry I'm so useless. I was happy enough to stumble through and see if i could get their site hosted... but doing it a second time would be really frustrating if. I don't need to. Thanks!

2 Likes

When you setup the webserver you had to specify the domain name in which case it's probably in the apache config and it's probably in the wordpress config (you may be able to change it through the wordpress admin, if not you'd need to change it in the database).

You could try expanding your certificate to cover www.makermarket.xyz, makermarket.xyz, www.kidmarket.one, kidmarket.one. See the expand option for certbot User Guide — Certbot 1.26.0 documentation

Your server is also redirecting http:// to https://www.kidmarket.one so you'll need to reconfigure that (check your apache config, if not could be wordpress).

I'm afraid there's no good way to cloak one website as another, you need to update your config, so you'll have to get your sleeves rolled up and tackle it with lots of googling. Meanwhile I'll clear my browser history.

3 Likes

p.s. I note your shopping link goes to an IP address, so you can't use SSL with that (you don't have an IP cert, you have a domain cert).

3 Likes

thanks for the help. Which shopping link goes to an ip address?

2 Likes

The "Go Shopping" button in the middle of the front page goes to an IP address for me.

4 Likes

I see that too. The html looks like:

<a class="wp-block-button__link" href="http://192.53.168.199/?page_id=5">Go shopping</a>

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.