Answer will be: you don’t have to change that part.
It’s not hard-coded. Drupal can detect current domain so if you move site to different domain this part will also change to correct one. Good thing with Drupal is that it keeps paths in relative formats so when you move site to new domain they will work out of box (unlike i.e. WordPress). Just make sure that urls you enter manually (i.e. links which are part of some wysiwyg edited content) are also in root relative format.
2
Answers
Answer will be: you don’t have to change that part.
It’s not hard-coded. Drupal can detect current domain so if you move site to different domain this part will also change to correct one. Good thing with Drupal is that it keeps paths in relative formats so when you move site to new domain they will work out of box (unlike i.e. WordPress). Just make sure that urls you enter manually (i.e. links which are part of some wysiwyg edited content) are also in root relative format.
As per @Milang Accepted Answer, Here I found a practical example Drupal default front page URL is not hardcoded.
You can find the example here