Redirect IP to Domain

which is the correct way in hestia to redirect the ip to a domain.

When I access through the ip it shows me the typical screen of hestia the “WORKS” but I want it to show the web directly from my domain

thanks all :slight_smile:

You can do this by editing nano /var/www/html/index.html

Add these below the <head> of the index.html file.

<meta http-equiv = "refresh" content = "time; URL = http: //your-redirectdomain.com" />

Change the redirect URL here. Then your ip will be redirected to the domain.

I did this to one of my clients.

This will change when the HestiCup update is done,
This will need to be re-edited once HestiCup is updated


My request is do not do this.

When you do this, everyone knows your server IP

Then your enemies can attack you, like ddos

There is no point in using Cloudflare once you know the server IP

In my experience, this is a stupid act. You think about this

If you can’t do this, let me know
You can help for free through anydesk software

Cloudflare will not hide your IP. at least 5 ways to see your IP - subdomains, history, DNS history, specialized search engines, email… all this is available on Google, and even a child can handle… Cloudflare serves for other purposes, and does not hide your IP.

1 Like

Cloudflare does more then only hidding your ip. It is also an DNS service, Caching service and so on.

For email don’t use the server for email and use Google / Microsoft 365 and so on and use SMTP provider for sending

Subdomains also hide behind CF

(DNS) History / Search engines the hardest part…

1 Like

Thank you.
I mean
Once the server knows the IP, it can target DDOS. Then there is no point in hiding the CF IP

Sorry if my reply is wrong