App launch URL in App launcher

Currently reading
App launch URL in App launcher

Hi,

My MailPlus and the server are all set up. I created a domain(mydomain.com) in MailPlus server. Both Contact and Drive are installed. I can see both of them in the App Launcher. Instead of seeing the url of each app pointing to mydomain.com, I saw the url like: https://192.168.1.8:5001/?launchApp=SYNO.Cal.Application

Where in the server side that I can change to make the url like: https://mydomain.com:20003 ?

Thanks
 

Attachments

  • Untitled.png
    Untitled.png
    34.1 KB · Views: 19
Are you currently web browsing to DSM using 'https://192.168.1.8:5001'? When you launch an application from a DSM window and this causes a new window/tab to open then the launched URL will start the same as the DSM window.

You can setup direct domains and aliases for applications from Control Panel.
 
Ok. But the Knowledge Centre link I gave explains how to add domains and aliases fo the other packages. Have only got a working setup of this on DSM 6.2 and I don't use Mail Plus on it, so I'm limited to Calendar, Contacts, Moments, Drive, and Chat.

But I log into Calendar, e.g. https://calendar.mydomain.me, and click then hover the mouse cursor over the application menu items. I see that the links will be https://contacts.mydomain.me, https://moments.mydomain.me, https://drive.mydomain.me, and https://chat.mydomain.me. I have specified package specific domains and aliases for all of these.

If you don't do this then they will be picking up the DSM domain if you set one, or the LAN IP address if there's nothing else. It may also pickup the Synology.me DDNS name if you set that up.

Page to set the DSM domain.

If this is day one of having the NAS then it's really useful to have a look through the Knowledge Centre anyway. Plus within DSM you find direct
1626212382128.png
button on the top of pages that will take you to its help.
 
Ok. But the Knowledge Centre link I gave explains how to add domains and aliases fo the other packages. Have only got a working setup of this on DSM 6.2 and I don't use Mail Plus on it, so I'm limited to Calendar, Contacts, Moments, Drive, and Chat.

But I log into Calendar, e.g. https://calendar.mydomain.me, and click then hover the mouse cursor over the application menu items. I see that the links will be https://contacts.mydomain.me, https://moments.mydomain.me, https://drive.mydomain.me, and https://chat.mydomain.me. I have specified package specific domains and aliases for all of these.

If you don't do this then they will be picking up the DSM domain if you set one, or the LAN IP address if there's nothing else. It may also pickup the Synology.me DDNS name if you set that up.

Page to set the DSM domain.

If this is day one of having the NAS then it's really useful to have a look through the Knowledge Centre anyway. Plus within DSM you find direct View attachment 3971 button on the top of pages that will take you to its help.
I am using DSM 7. Once I login to the Calendar, the Contact, MailPlus and Drive are all display as https://mydomain.com:[port], except Synology Photo which still using https://192.168.1.8:5001/launchApp=SYNO.Foto.AppInstance.
-- post merged: --

But if I login MailPlus client, all apps start with the IP address.
 
I am using DSM 7.
I know. The screenshot's theme plus Synology Photos [not on DSM 6] gave the game away.

And you've setup unique domains for each package? Have you changed anything after reading the help pages?

Some packages do have admin settings that enable a domain to be specified as this is useful when sending sharing links to others.
 
From some testing it seems that the URL that you use to log into the first package will dictate how it offers URLs for the others. Use an alias and those packages with aliases defined will be offered as alias, and those without aliases defined will fallback to DSM domain and port.

If you get it to offer the unique domains then you'll have to log into each one when you go to them: the web browser will see calendar.domain.me as a different site to drive.domain.me, etc. So using aliases will be smoother.
 
I think I found the reason.

I created a CNAME record on GoDaddy DNS manager: mail.mydomian.com. On my router config, I forwarded port 443 to the NAS port 21681 (mail server).

When I login via mail.mydomain.com, all the apps in the App Launcher url start with the IP address. However, if I login with mydomain:21681, the url becomes mydomain.com/calendar.
 
When I login via mail.mydomain.com, all the apps in the App Launcher url start with the IP address. However, if I login with mydomain:21681, the url becomes mydomain.com/calendar.
But then external access to the Calendar will still get port forwarded by your router to MailPlus's port TCP 21681.

Why don't you change the port forward so external TCP 443 goes to NAS TCP 443, then let the NAS work out which application is being requested. The NAS would use either the application's domain or alias that you configured.
 
Calendar is using 20003, and will not get forwarded to 21681.

The reason I forward TCP443 to 216891 is because the iPhone MailPlus client only supports HTTP or HTTPS. To get my iPhone working, I have to do it that way. If MailPlus client allows me to choose a port, then I don;t have to do the port forwarding.
 
Calendar is using 20003, and will not get forwarded to 21681.
However, if I login with mydomain:21681, the url becomes mydomain.com/calendar.
OK, but you didn't say mydomain.com:20003/calendar. Without the port number then the router will forward TCP 443 to TCP 21681, which will be interpreted as MailPlus.

The reason I forward TCP443 to 216891 is because the iPhone MailPlus client only supports HTTP or HTTPS. To get my iPhone working, I have to do it that way. If MailPlus client allows me to choose a port, then I don;t have to do the port forwarding.
Can't you just use a server name of 'mydomain.com:216891'? The other Synology iOS apps will honour the port number if this syntax is used, in fact some of them need it if they cannot access the NAS using the default HTTP 5000 or HTTPS 5001.
 
On the login page of the iPhone MailPlus client, I failed all the attempts that a url combining with a port number. Looks like there are two options available: HTTP or HTTPS.
 
You have to select HTTP / HTTPS but also can add a port number or alias to the server name. I have a spare NAS (DS218+) running DSM 7 and a test setup of MailPlus Server and MailPlus. The alias is 'mailplus' and the HTTPS port 21681.

Using the iOS MailPlus app from my local LAN both these work:
  • HTTPS: enanbled
  • Address:
    • NAS_IP/mailplus
    • NAS_IP:21681
You should be able to change NAS_IP to your domain.com, or something else that will resolve and route to the NAS.
 
Last edited:
To support the OP, just checked on my device and it gives the applications that have only a custom port configured, the same domain name in the link as used to open the intial app with the correct port. I have only setup an alias for photos and it is linked in the app as ip:5001/?launch...., the same goes for drive (no ports or alias setup for that).

It looks like that the link translation is not performed (correctly) when nothing is defined or only an alias?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top