How to replace IP address with the hostname

ASghostKI

Verified User
Joined
Oct 30, 2020
Messages
30
Hello,

When a new user has been created a welcome email is sent like this :

Dear Customer,

Thank you for choosing our service to meet your web hosting needs.

Your account has been created with the following details:

Username: newdomain
Password: * irretrievable *
Domain: newdomain.com

To log in immediately, follow this link, using your username and password:


Once your domain resolves, you will be able to follow this link:


How can I change the http://MyIP:2222 part to by https://myhostname:2222
Note that I already use https://myhostname:2222 to access my Directadmin CP
 
As admin, go to reseller leven, click "Edit User Message" and change:
Code:
http://|ip|:|PORT|
to
Code:
https://your.hostname.com:|PORT|
or put it hardcoded in there. If you put the port hardcoded and change the port later, you have to remember to change this too.
 
Back
Top