Changing rule url for Grafana alerting

I am trying to use Grafana alerting in which I want to change Rule URL. By default it redirects to localhost:3000 which I want to change to custom domain along with custom port number. How would I do that.
GF_SERVER_ROOT_URL: http://my_custom_ip:my_custom_port
i tried with this variable but still it redirects to localhost and default port i.e 127.0.0.1:3000

Hi @adityasahu,

Welcome to the :grafana: community forum !!

  • Please review the submission template and include more details:
  • What Grafana version and what operating system (incl. if using any container technology) are you using?
  • What is your datasource?
  • What are you trying to achieve?
  • How are you trying to achieve it?
  • What happened?
  • What did you expect to happen?
  • Can you copy/paste the configuration(s) that you are having problems with?
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
  • Did you follow any online instructions? If so, what is the URL?