Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i need a setting for subdomain #51

Open
lurchinms opened this issue Dec 6, 2024 · 4 comments
Open

i need a setting for subdomain #51

lurchinms opened this issue Dec 6, 2024 · 4 comments

Comments

@lurchinms
Copy link

i have the explorer running on directory https://kriptoyng.com/explorer/polcoin

@lurchinms
Copy link
Author

image

@joeuhren
Copy link
Contributor

joeuhren commented Dec 6, 2024

The explorer should run on the root of the explorer directory and not require a subdirectory from your domain like /explorer/polcoin. To have it work on a subdomain you only need to create an A record that points to your explorer's server ip address with the name/host value set to whatever you want your subdomain to be.

For example, if your explorer was running on a server with ip 125.128.221.118 and you wanted it to be available from http://vps.domain.com you would create an A record from the DNS section of where you have domain.com set up, something like this:
Sample image

@lurchinms
Copy link
Author

lurchinms commented Dec 6, 2024

I have this in my nginx config file.

location /explorer/polcoin {
proxy_pass http://127.0.0.1:5000;
}

I can't have it in the Root.

@joeuhren
Copy link
Contributor

joeuhren commented Dec 6, 2024

I'm not sure where you got those settings from but if you are going to modify things beyond the basic instructions, you are on your own. If you follow the instructions in the README, it works 100%, so start there first and once you got it working you can try and add your own custom settings if you really want (not recommended).

Using nginx as a reverse proxy is optional and not required since the explorer comes with a built-in webserver already. All the supported instructions for enabling SSL certificates are already in the README and work 100% if you follow them, you can use nginx if you want or there is an alternate method as well which doesn't require nginx: https://github.com/team-exor/eiquidus?tab=readme-ov-file#tlsssl-support

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

No branches or pull requests

2 participants