Giter VIP home page Giter VIP logo

Comments (2)

githubsaturn avatar githubsaturn commented on May 12, 2024 1

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.

jialutu avatar jialutu commented on May 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.