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)
- [Deployment Issue] Once click apps giving permission denied error HOT 1
- [Deployment Issue] Restart caprover after update failure HOT 12
- How to bind/publish port to IPv6 address? HOT 1
- One-Click Template for docker-compose mangling environmental values HOT 2
- [Deployment Issue] Unable to access all ports of a container HOT 1
- Extend one-click-app templates to support service update overrides
- Easy, visual way to see if web apps have SSL enabled
- Local caprover with external application with SSL HOT 2
- 502 error because of A record - custom domain set up HOT 1
- Caprover was down due to captain-certbot HOT 2
- [Deployment Issue] Nextcloud cron One Click HOT 1
- [Deployment Issue] - Self Signed Certificate and Appending Captain to Server Domain. HOT 5
- Global environment variables HOT 3
- API/CLI for changing "captain-definition Relative Path" of an app HOT 1
- Having the same image prefix name in Caprover cluster HOT 1
- Authorisation Provider integration (AWS Cognito, Google Firebase, ...) HOT 2
- Add some kind of last modified date to the one click apps
- How to deativate basic auth once enabled HOT 1
- portmapping to localhost/ip and UFW HOT 1
- [Deployment Issue] Poste.io 502 NGINX 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.