Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
this subdomain does not load a dir /var/www/tech
does any idea why it does not load the desired folder tech? but as you write tech.softinfo.org is loading my main directory softinfo.org (/var/www )
this subdomain does not load a dir /var/www/tech
does any idea why it does not load the desired folder tech? but as you write tech.softinfo.org is loading my main directory softinfo.org (/var/www )
You forgot the quotes around the DocumentRoot path.
It's been years since I used Apache, but I'm fairly sure that is your problem.
The other issue I can think of is if you created the directory you are pointing to without read permissions for group and others. I did this one time and it took me a while to figure out why I couldn't list the contents of the directory but could call a known file from it
EDIT: also check your DNS, make sure that when you added the subdomain you still have it pointing to both your server IP AND port 80. Also make sure your DNS server isn't just redirecting your subdomain query back to your main domain.
fortune -o
Your love life will be... interesting.
How did it know?
The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches
pendrachken wrote:also check your DNS, make sure that when you added the subdomain you still have it pointing to both your server IP AND port 80
The only DNS record type I know which points to a port is SRV. AFAIK it is not used much for websites, most websites use A and/or AAAA records which only point to an IPv4 or IPv6 address respectively.
It depends on the host, some provide redirect servers right through the DNS control interface so that you don't have to set anything else up yourself. It's all done backend and invisible to the user who just has to check a box and specify the forwarded port number.
I've also used some shady DNS hosts before that when calling a subdomain that isn't in an A list, but IS part of a domain that does have an A listing will just forward the address to the main domain instead of throwing an error. Cheap crappy hosting will often do this, or at least they used to. Maybe ICANN has been cracking down harder recently.
fortune -o
Your love life will be... interesting.
How did it know?
The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches
Assuming you have the subdomain set up in DNS, if it points to your main site yet Apache isn't set up properly for your subdomain. Check your config files for the virtual server again for any typing errors.
Also Apache MUST be reloaded after modifying the Apache sites available files and virtualservers. Make sure you have restarted Apachee however your host requires you to restart the service.
fortune -o
Your love life will be... interesting.
How did it know?
The U.S. uses the metric system too, we have tenths, hundredths and thousandths of inches