Hi guys!
At first sorry for my english. It's not the best of mine.
And of course I'm a new guy here, so if I make a mistake, please be permissive.
I need some help in subdomain creation.
I have a VPS with DirectAdmin, on Ubuntu. My website will have some subdomains and they are redirecting to the main directory with this (in the /etc/httpd/conf/httpd.conf file):
With this I can create 15 subdomains (on the DirectAdmin panel), and they're working well.
But when I want to create a new subdomain (16. or more), it will have a trouble. The subdomain-directory in the domain-directory is created well, but I can not reach the new subdomain on the Internet ("Adress not found").
- I thought that there is a problem with the DNS, but testing with dnswatch.info it's OK - it gives back my IP adress well.
- Then I thought that the problem is in the .htaccess redirection, and I enlarged the RewriteOptions MaxRedirects=10 to 30, but it can't solve the problem.
- Of course in the DirectAdmin panel I can create unlimited subdomains per domain, so this is OK.
And now I arrived here.
Please help me, if you can. Thank you in anticipation.
At first sorry for my english. It's not the best of mine.
And of course I'm a new guy here, so if I make a mistake, please be permissive.
I need some help in subdomain creation.
I have a VPS with DirectAdmin, on Ubuntu. My website will have some subdomains and they are redirecting to the main directory with this (in the /etc/httpd/conf/httpd.conf file):
(it is an example)<VirtualHost 123.123.123.123:80>
ServerName domain.com
ServerAlias *.domain.com
Documentroot /home/user_directory/domains/domain.com/public_html
</VirtualHost>
With this I can create 15 subdomains (on the DirectAdmin panel), and they're working well.
But when I want to create a new subdomain (16. or more), it will have a trouble. The subdomain-directory in the domain-directory is created well, but I can not reach the new subdomain on the Internet ("Adress not found").
- I thought that there is a problem with the DNS, but testing with dnswatch.info it's OK - it gives back my IP adress well.
- Then I thought that the problem is in the .htaccess redirection, and I enlarged the RewriteOptions MaxRedirects=10 to 30, but it can't solve the problem.
- Of course in the DirectAdmin panel I can create unlimited subdomains per domain, so this is OK.
And now I arrived here.
Please help me, if you can. Thank you in anticipation.