Hello again
Now I have problem accessing subversion web-app (or whatever it actually is) from outside the network.
I followed the steps here:
https://wiki.amahi.org/index.php/Hostin ... gle_Webapp
Specifically the "Hosting multiple web apps".
Using a .ru domain I own (let's call it mydomain.ru), I created a subdomain called svn.dev.mydomain.ru , CMAKE pointing to myname.yourhda.com
I updated the 100#-apachesvn.conf file, adding a line
ServerAlias svn.dev.mydomain.ru
I forwarded ports 80 and 443 to HDA's ip.
But when I open svn.dev.mydomain.ru in browser, it redirects me just to myname.yourhda.com and NOT the subversion app.
What did I do wrong?
Thanks
CLOSED: Subversion outside the network
Re: Subversion outside the network
Did you add this line as well:I updated the 100#-apachesvn.conf file, adding a line
ServerAlias svn.dev.mydomain.ru
Code: Select all
ServerAlias username.yourhda.com
ßî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
Re: Subversion outside the network
Wait, no, I followed the steps described in
"Hosting Multiple Webapps"
"Hosting Multiple Webapps"
- obtain a domain name (i.e., via godaddy.com) --for example yourdomain.com - I have a domain, which I pay for monthly and host my site on, registered on reg.ru
- for each web app you wish to have access to, establish a CNAME or subdomain--for example something.yourdomain.com---and point it to username.yourhda.com - I did this too. I created subdomain entries for each and pointed them to myname.yourhda.com
- edit the webapp .conf file (see above) to match the CNAME/subdomain you just established by adding ServerAlias something.yourdomain.com - did this too, added a line pointing to appname.mydomain.ru
- don't forget to restart the server each time you edit a .conf file. - and did it twice
For example, you could create the subdomain/CNAME: address.yourdomain.com for the AddressBook webapp---point that subdomain to: username.yourhda.com---in the AddressBook .conf file add: ServerAlias address.yourdomain.com---restart the server---you are done, enjoy using multiple webapps!
Re: Subversion outside the network
Sorry, I am not very familiar with that guidance.
I did something similar with DreamHost which might be helpful.
Unfortunately I can't access the document until I get home from work. I will post it then.
I did something similar with DreamHost which might be helpful.
Unfortunately I can't access the document until I get home from work. I will post it then.
ßî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
Re: Subversion outside the network
Ok, thanks, looking forward to that.
Re: Subversion outside the network
This is what I did to access apps outside my network using a hosting provider:
Hope that helps.
Replace the items in BOLD with your info. Of course app should be the app name as it is in Amahi (i.e. svn) I was then able to access apps with no issues.In ####-app.conf add:
ServerAlias app.domain.com
Add on Dynamic DNS Host:
CNAME web site = *.domain.com
A Record = to your ISP IP Address
CNAME = hdaname.yourhda.com
Forward port 80 on router to HDA
Hope that helps.
ßî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
Re: Subversion outside the network
Oh, wait. Hm, weird. Right now I booted up the Amahi server, and tried to go to my svn.dev.domain.ru address, and it redirected me to app.lan address, so it worked.
Then I tried the same from my phone, using 4G network, so it's not lan. But it also redirected me to app.lan, which is obviously not the correct address for outside the network...
And even if I get it to redirect me to ip:port, the port is 80, how will Amahi realize which app to launch?
Also will SVN work like that for other people? The tortoise svn client I mean?
Also, I can't place two records (A and CNAME) for one subdomain.
Then I tried the same from my phone, using 4G network, so it's not lan. But it also redirected me to app.lan, which is obviously not the correct address for outside the network...
And even if I get it to redirect me to ip:port, the port is 80, how will Amahi realize which app to launch?
Also will SVN work like that for other people? The tortoise svn client I mean?
Also, I can't place two records (A and CNAME) for one subdomain.
Re: Subversion outside the network
Sorry, but this is starting to get out of my realm of experience. I cannot help much in the this area.And even if I get it to redirect me to ip:port, the port is 80, how will Amahi realize which app to launch?
Also will SVN work like that for other people? The tortoise svn client I mean?
Based on your requirements, a lot of the capabilities you seek are not out-of-the-box with Amahi. It is designed to be a basic home server, not an advanced development platform. While it might be doable, we cannot provide much support. This likely would require advanced skills and manual configuration.
Honestly, Amahi may not be the ideal choice for you. Setting up a bare based server might be a simpler and more acceptable solution.
ßî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
Re: Subversion outside the network
Well, maybe you're right.
I guess to get what I need I'll have to:
Thanks.
Found where to edit DNS manually, it's in web-interface actually, under Network - DNS Aliases.
I still think that running Amahi+Fedora can be a thing, using Amahi only for what it's good at, and running all other servers separately...
Can anyone explain to me how can I redirect DNS to specific ports?
Ill make a separate thread for that actuall if no one minds...
I guess to get what I need I'll have to:
- Install bare Fedora\Ubuntu distribution.
- Install some DNS server on it, manually configurable
- Install subsonic, plex (already did it on fedora alongside amahi, and it actually works)
- SVN repo, manually
- Samba server
- ownCloud
- other stuff
Thanks.
Found where to edit DNS manually, it's in web-interface actually, under Network - DNS Aliases.
I still think that running Amahi+Fedora can be a thing, using Amahi only for what it's good at, and running all other servers separately...
Can anyone explain to me how can I redirect DNS to specific ports?
Ill make a separate thread for that actuall if no one minds...
Re: Subversion outside the network
Ok, sorry to say, but I decided not to use Amahi.
Instead I just used Ubuntu Desktop, and installed everything I need there. I was also able to succesfully use my domain and redirect one of it's subdomains to my site, using domain.com/appName instead of subdomains.
But I still think that Amahi is great for someone who just wants to set up a NAS system with a little extra.
Cheers, and keep up the good work.
Instead I just used Ubuntu Desktop, and installed everything I need there. I was also able to succesfully use my domain and redirect one of it's subdomains to my site, using domain.com/appName instead of subdomains.
But I still think that Amahi is great for someone who just wants to set up a NAS system with a little extra.
Cheers, and keep up the good work.
Who is online
Users browsing this forum: No registered users and 22 guests