Redirect IP Address To My Cloudron Subdomain
-
After migrated to new server, I just accessed the IP address and I found a message like this :
You cannot view Cloudron dashboard by IP address. Instead, navigate to the domain you configured during setup i.e https://my.domain.example . If you do not remember your domain, SSH into your server and run cloudron-support --owner-login .Is it possible to redirect when someone want to access the IP Address of server and he will redirect to https://my.domain.example, instead of see the message above?
Thank you.
-
After migrated to new server, I just accessed the IP address and I found a message like this :
You cannot view Cloudron dashboard by IP address. Instead, navigate to the domain you configured during setup i.e https://my.domain.example . If you do not remember your domain, SSH into your server and run cloudron-support --owner-login .Is it possible to redirect when someone want to access the IP Address of server and he will redirect to https://my.domain.example, instead of see the message above?
Thank you.
@IniBudi many (most?) don't want to leak their IP address. This is the reason that it doesn't automatically redirect to the domain.
Given that everything is vhost based, you should only ever access by domain name and never by IP. The page is simply there as a warning . nothing else.
-
J joseph marked this topic as a question on
-
J joseph has marked this topic as solved on
-
Forgot to mention, if you really want to redirect, you can use https://docs.cloudron.io/branding/#custom-pages . Put a custom notfound.html that redirects to your domain, but I would not recommend this for aforementioned reason.
-
@joseph I try to create a new folder (/custom_pages) using SFTP but it show that permission is denied.
I just saw this folder path
/home/yellowtent/boxdata/Should I create new folder for /custom_pages/ ?
-
@IniBudi yes, you have to create the folder as user
yellowtent. Don't think you can use SFTP since it's not enabled in Cloudron level. -
Thank you the problem is solved.

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login