# Issue with Custom Domain Redirect on InfinityFree Hosting

**URL:** <https://forum.infinityfree.com/t/issue-with-custom-domain-redirect-on-infinityfree-hosting/100981>\
**Category:** Hosting Support\
**Created:** [October 30, 2024, 2:43pm UTC](https://forum.infinityfree.com/t/issue-with-custom-domain-redirect-on-infinityfree-hosting/100981 "2024-10-30T14:43:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![EdwardSkunk](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/edwardskunk/32/66982_2.png) [@EdwardSkunk](https://forum.infinityfree.com/u/EdwardSkunk)\
**Post date:** [October 30, 2024, 3:37pm UTC](https://forum.infinityfree.com/t/issue-with-custom-domain-redirect-on-infinityfree-hosting/100981/3 "2024-10-30T15:37:28Z")

</div>

> [@DannyDee](#):
>
> I then added my custom domain as an alias to this free subdomain.

> [@DannyDee](#):
>
> After waiting for the DNS caching to clear, I noticed that accessing my custom domain [ontdekkingsgeest.com](http://ontdekkingsgeest.com) would automatically redirect to the free subdomain [www.ontdekking.42web.io](http://www.ontdekking.42web.io). I wanted to avoid this redirect, so I removed the free subdomain entirely.

Rather than having your custom domain be a redirect, the more optimal solution is to add it as an addon domain and then migrate your website to the new folder for that domain.

> [@How to add your own domain to your account](https://forum.infinityfree.com/docs?topic=49227):
>
> While a free subdomain is a great way to get started, a website looks a lot more professional with a custom domain name. Fortunately, you can register your own domain name with an external company (like [Spaceship](https://www.infinityfree.com/go/spaceship)) and use it on InfinityFree. Adding your domain name to your hosting account To add your domain name to your hosting account, you first need to have a hosting account. Even if you only want to host your own domain with us, you’ll first need to create a hosting account with a subdomain,…

> [@What does Subdomain / Addon Domain / Parked Domain mean](https://forum.infinityfree.com/docs?topic=49234):
>
> In the control panel, you’ll find the sections called Addon Domains, Parked Domains and Subdomains. What do all those different domain types mean? What is a subdomain? In general, a subdomain is a domain which is a part of another domain name. So if you have the domain name [example.com](http://example.com), then [test.example.com](http://test.example.com) would be a subdomain of [example.com](http://example.com). And similarly, [sub.test.example.com](http://sub.test.example.com) is a subdomain of both [example.com](http://example.com) and [test.example.com](http://test.example.com). In your control panel, the Subdomains section allows you t…

Then update the URL in your WordPress configuration as @JxstErg1 suggested.

> [@JxstErg1](#):
>
> As for your problem, have you tried to change the website URL for WordPress by following this guide?

> [@DannyDee](#):
>
> Now, when I try to visit my custom domain, I receive a “suspended website” message

That’s because you have the domain’s nameservers set to InfinityFree’s but it isn’t attached to an account, so the server doesn’t know where to send visitors. Once you add it as an addon domain it’ll work properly again.

> [@Why Your Domain Redirects to suspended-domain.net](https://forum.infinityfree.com/docs?topic=49236):
>
> Sometimes, your domain name may redirect to the website suspended-domain.net instead of showing your website. Contrary to what the domain implies, there are various reasons as to why your domain name may redirect to suspended-domain.net. In short: This happens if your browser is connecting to a website IP address, but there is no active website for your domain on the IP address. This article explains the different ways this can happen and how to fix each situation. What to Expect When Fixing …

---

_[View the full topic](https://forum.infinityfree.com/t/issue-with-custom-domain-redirect-on-infinityfree-hosting/100981)._
