Is it possible to set domain instead of IP address for a SolusVM node?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

Is it possible to set a domain instead of an IP address for a SolusVM node?

Answer

This is not possible through the web interface, however it is possible to edit the SolusVM database directly:

  1. Access SolusVM Master node over SSH.

  2. Create a backup of SolusVM database.

  3. Execute

    # echo "update nodes set ip='domain' where nodeid=node_id;" | awk -F: '{ system("MYSQL_PWD='"'"'" $3 "'"'"' mysql -u " $2 " "$1) }' /usr/local/solusvm/includes/solusvm.conf

    where domain - the necessary domain.
    node_id - ID of the necessary node from SolusVM > Nodes.

How to find ID of a node

node_id.PNG

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.