PDA

View Full Version : www.subdomain.domain.com



Guust
10-27-2003, 05:43 AM
Hello,

Isn't it possible to get this working:
www.subdomain.domain.com

And if, how?

thanx a lot.

Guust Hilte
Safe2Surf

DirectAdmin Support
10-27-2003, 09:50 AM
Hello,

It is already set to do that. There is a serveralias in the subdomain template (/usr/local/directadmin/data/templates/virtual_host_sub.conf) to setup www in front of a subdomain.

John

Guust
10-27-2003, 01:30 PM
so why isn't it working on our server?
http://testing.s2swebhosting.com
http://www.testing.s2swebhosting.com

thanx

Guust Hilte
Safe2Surf

Guust
10-28-2003, 06:58 AM
anyone knows?

DirectAdmin Support
10-28-2003, 09:44 AM
Hello,

I just remembered that although the subdomain supports www through apache, there isn't a www.subdomain A record added in the dns zone. To make it work, just add the appropriate A record:

www.subdomain -> 1.2.3.4
(or www.subdomain.domain.com. -> 1.2.3.4)

John

Guust
10-28-2003, 09:56 AM
I tryed adding almost every combination but nothing worked. Probebly I'm just stuppid but I tried this:
www.subdomain A 1.2.3.4
www.subdomain.domain.com. A 1.2.3.4
www.subdomain A my server IP
www.MYsubdomain A 1.2.3.4
www.MYsubdomain A my server IP
www.MYsubdomain.MYdomain.com A my server IP

but nothing worked. What am I doing wrong?

DirectAdmin Support
10-28-2003, 10:40 AM
Hello,

It won't be instant. Named has to reload (upto one minute) then there is the propogation time, which can be upto a few days.. (or as quick as right away)

John

Guust
10-28-2003, 10:45 AM
thanx a lot, but still hanging with some questions.
Which one do I have to add:
www.subdomain A 1.2.3.4
www.subdomain.domain.com. A 1.2.3.4
www.subdomain A my server IP
www.MYsubdomain A 1.2.3.4
www.MYsubdomain A my server IP
www.MYsubdomain.MYdomain.com A my server IP

And a other question:
http://nitro.hypernet.be is nog working
but: http://www.hypernet.be/~nitro is working. So there is a index.html file. I also checked it with file manager, everything seems normal. What could be the problem?
thanx in advanced.

DirectAdmin Support
10-28-2003, 11:06 AM
Hello,

I would use:

www.subdomain A 1.2.3.4

Not sure what you're you mean by MYdomain.com vs domain.com

I'm not sure that you have an index.html in the right spot. For subdomains, you would put it in:

/home/username/domains/domain.com/public_html/nitro/index.html

When you are accessing ~nitro, it's looking in:

/home/username/domains/domain.com/public_html/


Just a question... is hypernet.be even yours?

I ask this because ~nitro differs from www.hypernet.be. If it is not yours, then you can't have a subdomain on it.

John

Guust
10-28-2003, 11:34 AM
Another problem:

email isn't working for the 'login'@domain.com

'The loginname of DA panel'@domainname.com isn't working.

This isn't normal is it? Webmail doens't work and outlook doesn't work. What to do?

Hypernet.be is of a customer of mine. thanx for helping me on that issue!

DirectAdmin Support
10-28-2003, 12:58 PM
Hello,

To check the system account, you use just "username" not "username@domain.com".. adding the @domain.com is only virtual pop accounts (all of the accounts YOU created).

John