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.

6 Replies

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?

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

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.

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.

@Karnius:

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

Looks good from here:

$ host blog.position-absolute.com
blog.position-absolute.com has address 207.192.74.230
$ 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

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct