Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: subDomain nightmare
PostPosted: Thu Mar 12, 2009 1:10 pm 
Offline
Junior Member

Joined: Thu Dec 18, 2008 12:33 pm
Posts: 27
Hi guys,

I'm a linux noob i have been playing around with my server for a couple of months now. I decided to turn over my godaddy hosting to my linode.

But i have a sub domain like :blog.position-absolute.com

And I can't get it to work.

Im on ubuntu with ispconfig2 using linode dns manager. I already created a "co-domain" in ispconfig, but i'm certainly missing something, can anyone give me a step by step guide or point me toward one?

thank you.


Top
   
 Post subject:
PostPosted: Thu Mar 12, 2009 2:03 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
If that colon (:blog) is part of your subdomain, no wonder it's not working. AFAIK, colons are illegal characters in domain names.

Otherwise, please explain what exactly is not working. Does your browser say "Cannot find server" or something like that? Does your subdomain load something else?


Top
   
 Post subject:
PostPosted: Thu Mar 12, 2009 2:56 pm 
Offline
Junior Member
User avatar

Joined: Mon Mar 02, 2009 10:45 pm
Posts: 38
Might be a silly question, but you do have your http server configured to serve up virtual domains, right?


Last edited by Lykaon on Thu Mar 12, 2009 3:21 pm, edited 1 time in total.

Top
   
 Post subject: DNS
PostPosted: Thu Mar 12, 2009 3:11 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
Assuming you mean http://position-absolute.com and http://blog.position-absolute.com, it looks like you haven't set up your DNS correctly (within your linode control panel, as you're using their name servers).

Regardless, a bit more info would be good -- as per hybinet.


Top
   
 Post subject:
PostPosted: Thu Mar 12, 2009 4:53 pm 
Offline
Junior Member

Joined: Thu Dec 18, 2008 12:33 pm
Posts: 27
Okay here is what a did,

I created a A record hostname blog on 207.192.74.230 in linode manager dns

In ispConfig I have created a co-domain blog on position-absolute.com forwarded to blog folder and enabled dns on the co-domain.

I have already have domain, position-relative.net and position-absolute.com working fine (they look identical but they don't in the code)

Pretty much it.


Top
   
 Post subject:
PostPosted: Thu Mar 12, 2009 7:39 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Karnius wrote:
I created a A record hostname blog on 207.192.74.230 in linode manager dns


Looks good from here:

Code:
$ host blog.position-absolute.com
blog.position-absolute.com has address 207.192.74.230


Code:
$ telnet blog.position-absolute.com 80
Trying 207.192.74.230...
Connected to blog.position-absolute.com.
Escape character is '^]'.
HEAD / HTTP/1.0
Host: blog.position-absolute.com

HTTP/1.1 302 Found
Date: Thu, 12 Mar 2009 23:38:25 GMT
Server: Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 PHP/5.2.6-2ubuntu4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g
Location: http://www.position-absolute.com/blog/
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=iso-8859-1



Top
   
 Post subject:
PostPosted: Fri Mar 13, 2009 9:24 am 
Offline
Junior Member

Joined: Thu Dec 18, 2008 12:33 pm
Posts: 27
Yea I think I made it yesterday, I would have liked it to use blog.position-absolute instead of forwarding it to position-absolute.com/blog/ in the address bar.

But i'm not getting into that now :P


thank you for your help


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


Who is online

Users browsing this forum: No registered users and 0 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