| Linode Forum https://forum.linode.com/ |
|
| [Solved] Accessing Git via Subdomain (only) https://forum.linode.com/viewtopic.php?f=19&t=7377 |
Page 1 of 1 |
| Author: | Stan 2.0 [ Fri Jul 08, 2011 7:38 am ] |
| Post subject: | [Solved] Accessing Git via Subdomain (only) |
I want to access the Git repos on my server via a subdomain (git.mydomain.com) only. How do I accomplish that? I set an A/AAAA record to git.mydomain.com, but where do I go from here? Git already works fine when I just use my IP. Thank you! |
|
| Author: | obs [ Fri Jul 08, 2011 8:31 am ] |
| Post subject: | |
All you need to do is point your A record at your servers IP and wait 15 minutes for Linode DNS servers to update. |
|
| Author: | Stan 2.0 [ Fri Jul 08, 2011 8:38 am ] |
| Post subject: | |
Thanks, this is working now. Is there any way to make sure that only this subdomain can be used for Git? |
|
| Author: | obs [ Fri Jul 08, 2011 8:45 am ] |
| Post subject: | |
Git over ssh? Probably not why would you want to? |
|
| Author: | Stan 2.0 [ Fri Jul 08, 2011 8:51 am ] |
| Post subject: | |
I'm just interested if it can be done. Of course it doesn't really matter. |
|
| Author: | hoopycat [ Fri Jul 08, 2011 10:04 am ] |
| Post subject: | |
SSH only knows which username and IP address is being connected to; the protocol doesn't pass the hostname being used by the client. (HTTP is one of the few protocols that does, so it's the exception here.) |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|