Linode Forum
https://forum.linode.com/

subDomain nightmare
https://forum.linode.com/viewtopic.php?f=19&t=3986
Page 1 of 1

Author:  Karnius [ Thu Mar 12, 2009 1:10 pm ]
Post subject:  subDomain nightmare

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.

Author:  hybinet [ Thu Mar 12, 2009 2:03 pm ]
Post subject: 

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?

Author:  Lykaon [ Thu Mar 12, 2009 2:56 pm ]
Post subject: 

Might be a silly question, but you do have your http server configured to serve up virtual domains, right?

Author:  mjrich [ Thu Mar 12, 2009 3:11 pm ]
Post subject:  DNS

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.

Author:  Karnius [ Thu Mar 12, 2009 4:53 pm ]
Post subject: 

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.

Author:  hoopycat [ Thu Mar 12, 2009 7:39 pm ]
Post subject: 

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


Author:  Karnius [ Fri Mar 13, 2009 9:24 am ]
Post subject: 

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

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/