Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Jul 08, 2011 7:38 am 
Offline
Senior Newbie

Joined: Sat May 28, 2011 4:37 am
Posts: 12
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!


Last edited by Stan 2.0 on Fri Jul 08, 2011 9:29 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Fri Jul 08, 2011 8:31 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
All you need to do is point your A record at your servers IP and wait 15 minutes for Linode DNS servers to update.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Fri Jul 08, 2011 8:38 am 
Offline
Senior Newbie

Joined: Sat May 28, 2011 4:37 am
Posts: 12
Thanks, this is working now. Is there any way to make sure that only this subdomain can be used for Git?


Top
   
 Post subject:
PostPosted: Fri Jul 08, 2011 8:45 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Git over ssh? Probably not why would you want to?

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Fri Jul 08, 2011 8:51 am 
Offline
Senior Newbie

Joined: Sat May 28, 2011 4:37 am
Posts: 12
I'm just interested if it can be done. Of course it doesn't really matter.


Top
   
 Post subject:
PostPosted: Fri Jul 08, 2011 10:04 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
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.)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group