Replies: 3 comments
-
Hi @pjdevries , It looks like you are already halfway there. Can you tell me how you started your Expose server? Regarding the configuration, Expose is looking for the configuration file in a couple of locations. expose/app/Providers/AppServiceProvider.php Lines 48 to 66 in cca03ab I think the problem comes from your DNS records. Did you only add an A record for Make sure you have an A record for: |
Beta Was this translation helpful? Give feedback.
-
Hi @mpociot, Thanx for the reply and suggestions. The wildcard I do run into issues with some of the local sites I try to expose, but I'll try to figure those out later. First clean things up and try to have a predictable, reproducible environment with a proper config file. Thanks again so far. |
Beta Was this translation helpful? Give feedback.
-
This should be documented. |
Beta Was this translation helpful? Give feedback.
-
First I like to thank Beyond Code for this cool project and making it available to the rest of us.
After many hours of tinkering, trying to get my own Expose server up, running and accessible, I'm now both frustrated and desperate. Hopefully I can get some help from community members who managed to make this work.
On my local development system, I use Docker. I have several projects, each with their own virtual host and accessible in my workstation's .local network. Exposing any of those via
sharedwithexpose.com
works flawlessly. Trying to expose them via my own Expose server is quite another story.Let's assume I want to access the Expose server via subdomain
tunnel.myserver.tld
and port18181
.A
record was added for the subdomain.I start the server using the following command:
expose serve tunnel.myserver.tld --port=18181
The client configuration looks like this:
I start the client using the following command:
expose share foo.bar.local --subdomain=foo
resulting in the following feed back from expose:
Unfortunately
https://foo.tunnel.myserver.tld
does not take me to the website. It seems the address can not be resolved and I have no clue how to solve this.One thing in particular I don't quite understand, is the server configuration. The documentation has a special section for Client Configuration, explaining a default configuration file
~/.expose/config.php
has to be generated first, which can be adjusted to ones needs. For the server there is a section in the documentation about the Admin Interfac and Server Configuration, but there is no mention of a configuration file and it's location. So where do I add the administrator credentials for instance?A little help is very much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions