Comments (2)
No, the new domain does not need to have the same IP as Captain sever. But the request MUST finally come to Captain server (even with multiple reverse proxies in the way) - (is this the problem?) I don't understand why this is an issue. Can you please provide more details?
With reverse proxy. when you add a new domain the following steps happen:
1- Captain sends a request to www.myawesomeapp.com
2- Cloudfrare receives the request and forwards it Captain server
3- Captain receives the request and aknowledges the the domain is resolved to Captain (with or without some reverse proxy in the way)
In order to have it working, you will have to have Cloudfare setup ready before you attach a new domain.
I have not personally tested with the above setup, but surely, this is the "intented behaviour". If this is not how it's working, I'll have to look into it and improve the behavior. Can you please let me know if you tested with the setup described above and have the Cloudfare forwarding requests to Captain server in place and still have problem.
To test whether the Cloudfare forwarding works fine, when you have your setup ready, just visit www.yourawesomeapp.com
and you should see the default Captain page which says "nothing here :/" Do you see this page?
from caprover.
Maybe I was doing something wrong when I initially tried the setup. I had to set up the domain in godaddy and verified that it was working before changing it to use cloudflare. Since this is no longer an issue and I am unable to replicate it, I will close this issue. Thanks
from caprover.
Related Issues (20)
- Immich One Click Apps Latest Version Problem HOT 4
- How to clone a server without downtime and with the exact same app domain as before? HOT 1
- Swagger/OpenAPI
- Can't get any custom apps to work HOT 12
- [Question] Is possible insecure registry? HOT 3
- Caprover Deployment to Virtual Server using ARM HOT 6
- Cannot "Enable HTTPS" for app on Caprover instance behind firewall with custom certificates. 1107 error. HOT 3
- [Question] Connecting wildcard domain HOT 1
- Support Colon for Bulk Edit HOT 3
- SSL for initialization of Caprover with docker HOT 2
- [Deployment Issue] Caprover crashes after few minutes, restarts to crash again HOT 3
- [Question] How do I change the storage device for the self-hosted docker registry? HOT 1
- Unable to SSH to Server after deployment HOT 3
- create domin via api, using axios HOT 1
- [Deployment Issue] You may have specified a wrong IP address HOT 2
- Each time my app is deployed I get 502 until I do `Save & Restart` in app configs. HOT 2
- [Deployment Issue] Caprover not able to resolve domain
- [Question] Lots of empty Docker volumes HOT 2
- BuildKit error on deploy HOT 1
- [Question] How can I install caprover on windows server? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caprover.