Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

The url ( http://127.0.0.1/ ) defined in vibe_config.php seems wrong #15

Open
sercangezer opened this issue Jun 24, 2020 · 3 comments
Open

Comments

@sercangezer
Copy link

I want to installation local linux machine. But i cant define SITE URL.

Error: The url ( http://127.0.0.1/ ) defined in vibe_config.php seems wrong

How i can fix it?

@wtosborne03
Copy link

I had the same problem, I couldn't find an acceptable site url.
I fixed it by removing line 187 "_error();" in setup/index.php

@cheungxi
Copy link

I had the same problem, I couldn't find an acceptable site url.
I fixed it by removing line 187 "_error();" in setup/index.php

😄

@CatDTran
Copy link

CatDTran commented May 14, 2021

@sercangezer The setup/index.php script is expecting a fully qualified DNS name. You can put in example.com (or whatever name you like) as SITE_URL in the vibe_config.php, then if you're on linux, edit the file /etc/hosts and point the example.com to whatever IP that your server is hosting on (in this case 127.0.0.1), this act as a fake DNS name so that you can develop on your local machine. Article for reference here https://www.tecmint.com/setup-local-dns-using-etc-hosts-file-in-linux/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants