# Domain and subdomain problem

**URL:** https://forum.yunohost.org/t/domain-and-subdomain-problem/31710
**Category:** Support
**Tags:** english
**Created:** [November 1, 2024, 10:41am UTC](https://forum.yunohost.org/t/domain-and-subdomain-problem/31710 "2024-11-01T10:41:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![GokturkTalha](https://forum.yunohost.org/user_avatar/forum.yunohost.org/gokturktalha/32/10780_2.png) [@GokturkTalha](https://forum.yunohost.org/u/GokturkTalha)
#### Post date: [November 1, 2024, 10:41am UTC](https://forum.yunohost.org/t/domain-and-subdomain-problem/31710/1 "2024-11-01T10:41:32Z")

</div>

### I have searched the forum for similar issues

on

### This category is for general issues regarding YunoHost, _NOT_ apps.

on

### This form is written in English 🇬🇧 but feel free to write in French 🇫🇷 if you’re more comfortable!

on

### What type of hardware are you using

VPS bought online

### What YunoHost version are you running

YunoHost 12.0.6 (stable)

### How are you able to access your server

SSH

### Describe your issue

domain issue

### Share relevant logs or error messages

Hello, I have a problem. I had to reinstall my VPS, so I reinstalled Yunohost. Yunohost was previously installed on a Debian 11 VPS, now it is hosted on a Debian 12 VPS.

My Yunohost admin panel was normally at cloud-example-com. There was a Wordpress blog at example-com. (Previously)

Now when I go to cloud-example-com, it redirects me to example-com/yunohost/admin. (I want it to redirect to cloud-example-com/yunohost/admin.)

At the same time, access to “100-101-10-11/yunohost/admin” continues, it should redirect to cloud-example-com.

I tried to solve it but couldn’t find it, I would be glad if you help me.

---

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [November 1, 2024, 10:48am UTC](https://forum.yunohost.org/t/domain-and-subdomain-problem/31710/2 "2024-11-01T10:48:41Z")

</div>

> [@GokturkTalha](#):
>
> My Yunohost admin panel was normally at cloud-example-com. There was a Wordpress blog at example-com. (Previously)

Maybe your browser saved some redirections from your previous serveur. Try clearing the cache (or in Firefox, in the browsing history, right click on the website and “Forget” it).

> [@GokturkTalha](#):
>
> Now when I go to cloud-example-com, it redirects me to example-com/yunohost/admin. (I want it to redirect to cloud-example-com/yunohost/admin.)

If the previous suggestion does not work, look at the “default domain” button in cloud-example-com.

> [@GokturkTalha](#):
>
> At the same time, access to “100-101-10-11/yunohost/admin” continues, it should redirect to cloud-example-com.

That is not possible, assuming these numbers are supposed to be an IP address.

---

<div class="post-metadata">

### Author: ![GokturkTalha](https://forum.yunohost.org/user_avatar/forum.yunohost.org/gokturktalha/32/10780_2.png) [@GokturkTalha](https://forum.yunohost.org/u/GokturkTalha)
#### Post date: [November 1, 2024, 11:18am UTC](https://forum.yunohost.org/t/domain-and-subdomain-problem/31710/3 "2024-11-01T11:18:09Z")

</div>

> [@tituspijean](#):
>
> Maybe your browser saved some redirections from your previous serveur. Try clearing the cache (or in Firefox, in the browsing history, right click on the website and “Forget” it).

> [@tituspijean](#):
>
> If the previous suggestion does not work, look at the “default domain” button in cloud-example-com.

“default domain” didn’t change anything. cleared cookies and history, still no change.

Still when I go to cloud-example-com it redirects to example-com/yunohost/admin. At the same time, when I go to cloud-example-com/yunohost/admin, cloud-example-com opens without any problem.

When I click on the “user interface” button on the cloud-example-com/yunohost/admin page, it redirects to example-com/yunohost/admin again.

As I said, normally there was no problem with my previous installation. After transferring the VPS from Debian 11 to Debian 12, I am experiencing these problems again when installing yunohost.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 1, 2024, 11:18am UTC](https://forum.yunohost.org/t/domain-and-subdomain-problem/31710/4 "2024-12-01T11:18:22Z")

</div>

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