How do you setup the 'friendly' URL for a webapp that is running on a particular port?
For example, the cockpit admin page runs on port 9090 by default, and is accessed via: http://localhost:9090
I'd like to add an actual URL for it so that you can type in http://cockpit.hda.local similar to the link for the apps installed via the control panel.
I know how to do this in IIS etc on windows servers, but so far not having any luck figuring out how to do in Fedora...
DNS Alias Question
- TheParkerFamily
- Posts: 32
- Joined: Tue Jan 05, 2016 10:40 am
DNS Alias Question
+++Error At Address: 14, Treacle Mine Road, Ankh-Morpork+++
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
+++Whoops! Here Comes The Cheese! +++
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
+++Whoops! Here Comes The Cheese! +++
Re: DNS Alias Question
It can be done, but not a simple process. It would actually require manipulating the database which is not recommended along with some other changes.How do you setup the 'friendly' URL for a webapp that is running on a particular port?
Also we do not recommend users change anything with the the Cockpit admin page. Use the HDA Dashboard first as using the Fedora UI could break the Amahi functionality. For example, creating users or restarting services. That should always be done via the HDA dashboard.For example, the cockpit admin page runs on port 9090 by default, and is accessed via: http://localhost:9090
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
- TheParkerFamily
- Posts: 32
- Joined: Tue Jan 05, 2016 10:40 am
Re: DNS Alias Question
Oh - I don't want to change anything via cockpit - I just like the realtime view of storage system etc.
Helped me a ton while troubleshooting issue with greyhole to see exactly which drives were reading/writing etc
Helped me a ton while troubleshooting issue with greyhole to see exactly which drives were reading/writing etc
+++Error At Address: 14, Treacle Mine Road, Ankh-Morpork+++
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
+++Whoops! Here Comes The Cheese! +++
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
+++Whoops! Here Comes The Cheese! +++
Re: DNS Alias Question
What you could do is install the Web Apps plug-in. Create a web app using the plug-in and call it Cockpit. Then modify the appropriate .conf file created by it to access Cockpit to include the port, save it, and restart httpd.
That is the simpler method. No icon on the Dashboard, but the URL will be created as http://cockpit.amhi.net or whatever domain you use. Access the app via via short name of Cockpit or the full URL.
That is the simpler method. No icon on the Dashboard, but the URL will be created as http://cockpit.amhi.net or whatever domain you use. Access the app via via short name of Cockpit or the full URL.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 21 guests