Giter Club home page Giter Club logo

Comments (9)

githubsaturn avatar githubsaturn commented on May 14, 2024

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 simple hosts 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 where 192.168.1.2 is your local IP address.
To make sure you have dnsmasq, you can run which 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.

brilvio avatar brilvio commented on May 14, 2024

Sorry for not reading the documentation, I tried that as well but can't figure out how to get working.

from caprover.

sah2ed avatar sah2ed commented on May 14, 2024

What platform are you trying this on? At what step did you get stuck?

from caprover.

brilvio avatar brilvio commented on May 14, 2024

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.

brilvio avatar brilvio commented on May 14, 2024

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.

githubsaturn avatar githubsaturn commented on May 14, 2024

Of course, you cannot enable https on localhost. Just use plain captainduckduck login.

from caprover.

brilvio avatar brilvio commented on May 14, 2024

Sorry didn't know that existed another command to login.

from caprover.

amanvishnani avatar amanvishnani commented on May 14, 2024

Any way to configure DNS on windows? the default host file does not support wildcards.

from caprover.

githubsaturn avatar githubsaturn commented on May 14, 2024

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)

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.