Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change Root URL #2896

Closed
TheDrEmil opened this issue Jan 22, 2020 · 1 comment
Closed

Unable to change Root URL #2896

TheDrEmil opened this issue Jan 22, 2020 · 1 comment

Comments

@TheDrEmil
Copy link

Hi,
I am using Wekan inside a VirtualBox Ubuntu 18.04 Installation and when I set the desired url using "sudo snap set wekan root-url='https://myurl.com'" in my browser this url is not found.
Only when I set the root url to the ip adress of my virtual machine it loads wekan in the browser.
Is this a known issue? Or am i doing something wrong?

Thanks

@xet7
Copy link
Member

xet7 commented Jan 22, 2020

That is how Internet works.

When you type text web address to webbrowser, computer checks what IP address that text means from nameserver:

  1. Is at your own computer /etc/hosts (at Linux desktop, Windows/Mac/other OS can have hostsfile elsewhere) for example 192.168.0.100 wekanserver so then you can browse to https://wekanserver
  2. If your local network has dhcp server that tells also ip address of nameserver to each computer.
  3. If you are connected to Internet, then your modem (like ADSL, cable, lightcable, mobile phone hotspot etc) is usually tells address of nameserver to each computer.

When you buy a domain from for example Namecheap, AWS, Google Domains, etc, then you can point each web addess of your domain or subdomain to your IP address.

For example, if you have rented a server that has public ip address, you can add it to nameserver settings.

If your server is at home, you can use modem settings to configure dynamic DNS to use you for example Namecheap FreeDNS, DynDns or other similar service so that if your IP address changes, new IP address can be updated to your nameserver.

If your modem does not have dynamic dns, you can also use somr script or dynamic dns client software to update your ip address.

To be able to access your Wekan through Internet, you would need to be able to open some port to Internet. Ask your Internet provider how to do it on your modem, or google search for manual of your modem.

For example, if you can open ports 80 and 443, you can setup Caddy to provide SSL to your (sub)domain. See Wekan GitHub wiki pages OAuth2/Caddy/Nginx/Apache for more info.

On your computer internet settings, or Linux command ip address , you can see address of your modem as nameserver address if you use dhcp. For example, modem address can be https://192.168.0.1 or 192.168.1.1 . There you can login for example usually admin/admin and change virtual server settings to point outside ports like 80 and 443 to your VirtualBox VM IP address. Sure you can use any other port too, if your Internet provider does not allow some ports to be open. Some have public IP address as separate paid service, for some it's already to open port without extra payment.

Also see:
https://github.com/wekan/wekan/wiki/Settings
https://github.com/wekan/wekan/wiki/virtual-appliance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants