Update blobber/validator url using chimney that got deployed via chimney webapp
Updating the Blobber and Validator URLs to your new domain is straightforward. Follow these steps:
- Create a New A Record with Your DNS Provider
Creating a new A (Address) Record is an essential step in connecting your domain name to an IP address. This allows your domain name to directly point to the server where your website is hosted. Create a new A Record with your DNS provider, pointing your domain to your hosting server's IP address. Please ensure your domain/subdomain name you are creating should be valid.
SSH into the blobber server using below command. Replace
<SERVER-IP-ADDRESS>
with ip address of blobber server. It will ask for password to ssh so, you need to input server password.ssh -o StrictHostKeyChecking=no root@<SERVER-IP-ADDRESS>
For updating the blobber url to new, you will get the script in the similar format as given below.
curl -fSsL https://raw.githubusercontent.com/0chain/zcnwebappscripts/main/blobber-host-update.sh | sed 's/0chainblobberhostoldurl/<existing_blobber_url>/; s/0chainblobberhostnewurl/<new_blobber_url>/;' | bash
You will have existing blobber url in place of
<existing_blobber_url>
, new blobber url in place of<new_blobber_url>
. For example:curl -fSsL https://raw.githubusercontent.com/0chain/zcnwebappscripts/main/blobber-host-update.sh | sed 's/0chainblobberhostoldurl/chimneyu7iup.zus.network/; s/0chainblobberhostnewurl/chimshahtest1.zus.network/;' | bash
Copy the script that you got from chimney webapp and and paste it on the blobber server. Press
enter
/return
key in order to execute the script.
This process automatically updates the URL and restarts the blobber/validator..
You can verify the updates by accessing the new Blobber URL in your browser. Additionally, the domain will also reflect the recent changes on atlus.cloud.
Last updated