Custom domain name

Tutorials, tips and tricks.

Moderator: moderators

Custom domain name

Postby heynowsaywhat » Fri Feb 04, 2011 1:20 am

I wanted to know if it's possible to have a custom domain url so my Subsonic address turns to a "mysite.com"

can I use 1&1.com for this?

Is Subsonic ever going to have this has an option?

Thank you

dannymumbles
User avatar
heynowsaywhat
 
Posts: 7
Joined: Wed Oct 20, 2010 8:12 am

Postby Emergence » Fri Feb 04, 2011 5:31 am

It is possible since I know there is a thread in the forum that describes the subsonic.org/demo server that is hosted on godaddy, not sure if that will help you or not though.
Emergence
 
Posts: 11
Joined: Thu Jul 15, 2010 1:34 am

Postby heynowsaywhat » Fri Feb 04, 2011 5:45 am

Well I know godaddy can host but I'm not trying to pay for online space and bandwidth use charge... I just wanna be able to havemy own custom domain name.
User avatar
heynowsaywhat
 
Posts: 7
Joined: Wed Oct 20, 2010 8:12 am

Postby bushman4 » Fri Feb 04, 2011 1:32 pm

If you are running subsonic on Port 80, then you can easily have a custom domain name... Just go add the appropriate records to the DNS servers hosting your domain, and it will work fine.

For example, if you own "example.com" and want "subsonic.example.com" to point to your subsonic server, then add an A record to your DNS with the address of your subsonic server and the name "subsonic".

If you are not serving subsonic on port 80, it is a little more difficult. You have to know how to set up a web server that will answer back with a "302" message when prompted that redirects to your real subsonic address and port. Continuing the above example, if you want "subsonic.example.com" to redirect to your real subsonic server at 65.66.67.68:4040, then you would have to have the A record above point to a web server you have control of, and would have to set that web server up to answer to the Host Header "subsonic.example.com" and feed back a 302 redirect to http://65.66.67.68:4040/login.view.

I can help you with specifics in Windows using IIS or apache if you want help setting it up. But your ISP needs to allow inbound port 80 traffic for it to work correctly.

HTH,

Glenn
User avatar
bushman4
 
Posts: 874
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Postby Minime » Fri Feb 18, 2011 3:25 am

bushman4 have explained the process eloquently. I use a very similar method, but i host subsonic myself at home. My routers Upnp is useless and i found my xxx.subsonic.org domain not always forwarding due to my router. I had a domain already hosted with bluehost.com for other purposes so i just created a subdomain called: media.mydomain.com and setup an A record as described above to point to my external ip address(i lease a static ip address already). I then opened port 4040 to forward to my ubuntu subsonic server's internal ip address and it is all working flawlessly.

If you don't have a static external ip address, you can overcome that by using something like dyndns.org or similar.

I don't have an experience with 1&1, but Bluehost.com have an excellent control panel that is very powerful and gives you full control over your domain and i would recommend them to anyone.
Best Regards
Minime,
-----------------------------------------------------------------
Subsonic 4.6 | Ubuntu 10.04 LTS inside a VMWare host
Galaxy SII with ICS 4.0.1 & Android App v3.0 Combo
XBMC Dharma with t0mm0-xbmc-addons
+ A few custom Mods
User avatar
Minime
 
Posts: 68
Joined: Fri Dec 17, 2010 5:19 am
Location: UK

Re: Custom domain name

Postby EN4CER » Sun Mar 31, 2013 12:44 am

If you are not serving subsonic on port 80, it is a little more difficult. You have to know how to set up a web server that will answer back with a "302" message when prompted that redirects to your real subsonic address and port. Continuing the above example, if you want "subsonic.example.com" to redirect to your real subsonic server at 65.66.67.68:4040, then you would have to have the A record above point to a web server you have control of, and would have to set that web server up to answer to the Host Header "subsonic.example.com" and feed back a 302 redirect to http://65.66.67.68:4040/login.view.


I'm having trouble figuring this out. I have a web server/domain but I don't understand how to edit my A record (is that a configuration with the domain registrar?) or how to setup the response to header information with 302 redirect. Do you have any good sources that I can reference in order to learn this?
EN4CER
 
Posts: 2
Joined: Sun Mar 31, 2013 12:41 am

Re: Custom domain name

Postby dr3van » Tue Apr 16, 2013 7:41 pm

With 1&1 you:

1. Go to the 1and1.com and sign in.

2. Click domains

3. Click the check-mark next to the domain you wish to use for subsonic.

4. Then along the top of the domains there is a DNS drop-down & select edit DNS

5. Scroll down to where it says "IP Address (A-Record) :" and change it from 1&1 IP Address to Other IP Address

6. It will then load a section of 4 text-boxes to input your public ip address where your server is located.

7. Select OK and give it a few minutes for the dns records to update and you should be good to go.

This will work for http or https. No need to specify the port in the dns record as it always looks for port 80 and 443.
Subsonic Server: https://dr3van.com

build
Ubuntu Server 12.10 64 bit LAMP
Subsonic 4.7 custom
dr3van
 
Posts: 48
Joined: Wed Feb 22, 2012 8:43 pm


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 12 guests