subdomain problem

knothje

Verified User
Joined
Nov 22, 2006
Messages
34
Hello All,

I have a problem with subdomains, when i make these in userlevel like this:

knoth.domain.nl then i get the following in de DNS administration by domain.nl:

alexander A **.**.**.**
www.alexander A **.**.**.**

But the subdomain dont work at all. This is a problem on the whole server and not one of two accounts.

I have done a DNS lookup for the A records and it seems that it's ok.

Someone a suggestion to solve this problem?
 
ok i have make alexander.knothhosting02.nl, check for yourself. If i make a subdomain on a other server it works fine then i get a 403/404 error.
 
You may have to wait for DNS to propogate.

On all other servers i don't have this ? When i entered the url from the subdomain i get a 403 / 404 error. I think it's a other problem...
 
Do any subdomains on this server work? What about subdomains on another domain?

All the subdomains maked befor last week are working, now i have een client and he would make a subdomain but it doesn't work. He has wait for 24 hours but de sub still doesn't work.

If i made a sub domain on any account it doesn't work.

The DNS Administration in DA for knothhosting02.nl is the following:

alexander A 85.17.19.88
ftp A 85.17.19.88
knothhosting02.nl. A 85.17.19.88
localhost A 127.0.0.1
mail A 85.17.19.88
ns1.knothhosting02.nl. A 85.17.19.88
ns2.knothhosting02.nl. A 85.17.19.49
pop A 85.17.19.88
www A 85.17.19.88
www.alexander A 85.17.19.88
knothhosting02.nl. NS ns1.knothhosting02.nl.
knothhosting02.nl. NS ns2.knothhosting02.nl.
mail MX 10
knothhosting02.nl. TXT "v=spf1 a mx ip4:85.17.19.88 ?all"

I have installed APF and BFD last week, but all the servers are the same and i have this problem with subdomains on 2 servers at this moment.
 
The following is added in the httpd.conf from the user:

<VirtualHost 85.17.19.88:80>

ServerName www.alexander.knothhosting02.nl
ServerAlias www.alexander.knothhosting02.nl alexander.knothhosting02.nl
ServerAdmin [email protected]
DocumentRoot /home/admin/domains/knothhosting02.nl/public_html/alexander
ScriptAlias /cgi-bin/ /home/admin/domains/knothhosting02.nl/public_html$

UseCanonicalName OFF

User admin
Group admin
CustomLog /var/log/httpd/domains/knothhosting02.nl.alexander.bytes bytes
CustomLog /var/log/httpd/domains/knothhosting02.nl.alexander.log combin$
ErrorLog /var/log/httpd/domains/knothhosting02.nl.alexander.error.log

<Directory /home/admin/domains/knothhosting02.nl/public_html/alexander>
Options +Includes -Indexes
php_admin_flag engine ON
php_admin_flag safe_mode ON
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f admi$

php_admin_value open_basedir /home/admin/:/tmp:/usr/local/lib/p$

</Directory>

</VirtualHost>
 
Just a note but your nameservers are set to:
ns1.transip.net
ns0.transip.net
ns2.transip.net
for that domain, are these pointing to the same server that you are setting up the account on or are they somewhere else? If they are somewhere else then you need to setup the A records for your subdomain at those servers or ISPs wont find it. Either that or change the nameservers on your domain to be ns1/ns2.knothhosting02.nl for it to recognize your DNS changes on that server.
 
Just a note but your nameservers are set to:
ns1.transip.net
ns0.transip.net
ns2.transip.net
for that domain, are these pointing to the same server that you are setting up the account on or are they somewhere else? If they are somewhere else then you need to setup the A records for your subdomain at those servers or ISPs wont find it. Either that or change the nameservers on your domain to be ns1/ns2.knothhosting02.nl for it to recognize your DNS changes on that server.

Hello Marshall, i have a A record in the DNS of the domain to my server IP, i use this construction on all of my servers and it was never a problem. If i do an DNS lookup for the subdomain it's all fine. So that's also not the problem.
 
Hmm that's not so nice, when i checked this morning everything was ok. I need to make a A record in the DNS by TransIP where i registrered the domain i think?

I make a A record like this:

alexander.knothhosting02.nl 1day A 85.17.19.88

This is ok? And by the next DNS/Zone update the domain must work?
 
Back
Top