The base URL of magento is used to access the store page. You can also set a base URL for a separate Store View.
Before changing this value, make sure that your domain name has been directed to the IP address of the server where the website is located. After DNS resolution is complete, you can access the website through the domain name.
To change the base URL of magento, you must first enter the background
System> Configuration> Web> unsecure> base URL
And
System> Configuration> Web> secure> base URL
In unsecure, the base link URL, base skin URL, base media URL, and base javascript URL are changed when the website uses the CDN technology, generally, you can use the system default value.
If the website domain name has SSL technology, the base URL in secure should be changedHTTPS: // Yourdomain.com
After modification, refresh the cache.
If the background cannot be accessed, you can also modify the base URL through database operations:
Go to phpMyAdmin, find the corresponding database, and click the "core_config_data" table. It is easy to find the "Web/unsecure/base_url" and "Web/secure/base_url" values.
Modify the base URL of magento