When installing Magento 1.9.2, I couldn't go to the next step because a URL validation occurred that required entering a valid URL. I asked a question on Stackoverflow here. But I want to know the reason for this. Is there any security issue here? Can you explain this?
Solved! Go to Solution.
Its because localhost isn't actually a valid domain.since it doesn't have a TLD. I personally use localhost.com as mine so that it passes the URL checks. http://192.168.0.1/ etc.. is actually a valid domain which is why that passes the checks.
The is an option during install that says something along the lines of skip url verification that you could use if you're 100% sure you've got the right domain.
Hi,
You have install magento on local machine/server or web hosting with domain?
If you are installing on local machine then instead of localhost need to use ip address.
If you are using domain then please provide error message you are getting and enviroment you are using like php,windows ,linux server or any other details.
Thanks you!
I installed on local. However, I want to know the reason why I can't use 'localhost'. Older versions of Magento accepted 'localhost' by default.
Thanks!
Its because localhost isn't actually a valid domain.since it doesn't have a TLD. I personally use localhost.com as mine so that it passes the URL checks. http://192.168.0.1/ etc.. is actually a valid domain which is why that passes the checks.
The is an option during install that says something along the lines of skip url verification that you could use if you're 100% sure you've got the right domain.
Thanks you!
While installing Magento in the local server, in the configuration section, you may be asked to enter the base url. But the installation wizard will not accept the local server url. It is because
Magento won’t consider the local server url as a valid url.
For this you need to remove the validation for the particular section.
OR
Use Ip of your localhost,