Comments (9)
You need a wildcard DNS entry. /etc/hosts won't work. Try this:
you can simply run a local DNS server on your local machine and point
*.captain-x
(wild card domain) to your local IP. A simplehosts
change won't be useful as we need a wildcard entry.
On ubuntu 16, it's as simple of editing this file:
/etc/NetworkManager/dnsmasq.d/dnsmasq-localhost.conf
(create if does not exist)
And add this line to it:address=/captain.x/192.168.1.2
where192.168.1.2
is your local IP address.
To make sure you have dnsmasq, you can runwhich dnsmasq
on your terminal, if it's available,
path of it will be printed on the terminal, otherwise, there won't be anything printed on your terminal.
Taken from https://github.com/githubsaturn/captainduckduck/blob/master/CONTRIBUTING.md#runnig-dev-environment
from caprover.
Sorry for not reading the documentation, I tried that as well but can't figure out how to get working.
from caprover.
What platform are you trying this on? At what step did you get stuck?
from caprover.
I resolved, I am using Ubuntu I had a dnsmasq but I think it didn't work correctly so I installed using apt install, and I edited this file only:
/etc/dnsmasq.conf
and restarted the service.
Thanks.
from caprover.
Now when using :
captainduckduck serversetup
I have this response:
Error: 1107
Error: Unexpected output when enabling SSL forcaptain.captain.x with ACME Certbot
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Obtaining a new certificate
An unexpected error occurred:
The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
Please see the logfiles in /var/log/letsencrypt for more details.
from caprover.
Of course, you cannot enable https on localhost. Just use plain captainduckduck login.
from caprover.
Sorry didn't know that existed another command to login.
from caprover.
Any way to configure DNS on windows? the default host file does not support wildcards.
from caprover.
Google suggests this one can be used:
http://mayakron.altervista.org/wikibase/show.php?id=AcrylicHome
DISCLAIMER: I never used it! I just found it on Google
from caprover.
Related Issues (20)
- OpenVPN fails enabling HTTPS HOT 3
- CapRover is no longer open source but still lists open source on the website and documentation. HOT 1
- CapRover isn't Open Source, and denies the Open Source Initiative's definition of it HOT 3
- Caprover not replicating new one click apps and not neither restarting HOT 2
- [Question] CertBot Docker container using a no longer supported version HOT 1
- directory index of "/app/" is forbidden [Question] HOT 4
- [Question] how to add mimtype? HOT 1
- Deploying Caprover - ARM SSL Error HOT 4
- [Deployment Issue] On Click App Strapi HOT 3
- how to secure DB HOT 1
- [Deployment Issue] One Click Apps all time loading HOT 7
- root ssh login HOT 3
- Nginx deployment issue HOT 2
- Caprover restarts endlessly HOT 6
- Volumes wont attatch HOT 1
- caprover deploy not updating files on the server HOT 5
- [General Question] change captain-overlay-network subnet HOT 1
- Captain crashes on new server if registry is not set up HOT 1
- [Deployment Issue] Deploy from github using image doesn't work. HOT 2
- How to update the certificate of my self hosted registry? 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.