Author Topic: SubDomain Problem  (Read 11214 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
SubDomain Problem
« on: January 08, 2015, 11:09:12 PM »
I do not know if I am in the correct section but I hope so.
I have problems with the SubDomain is not loaded.
And its load from the basic folder "/usr/local/apache/htdocs"

How can i fix it for loard from "/home/root/download"?

Screen:


Code: [Select]
# vhost_start http://domain.net/
<VirtualHost 127.0.0.1:80>
ServerName domain.net
ServerAlias www.domain.net
ServerAdmin  support@domain.net
DocumentRoot "/home/rootwebsite"
ScriptAlias /cgi-bin/ /home/rootwebsite/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/root/http://domain.net//*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup Gothic Gothic
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup Gothic Gothic
</IfModule>

<Directory "/home/rootwebsite">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end http://domain.net/

SubDomain:
# vhost_start download.domain.net.
<VirtualHost 127.0.0.1:80>
ServerName download.domain.net.
ServerAlias www.download.domain.net.
ServerAdmin support@domain.net
DocumentRoot "/home/root/download"
ScriptAlias /cgi-bin/ /home/root/download/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/root/download.domain.net./*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup root root
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup root root
</IfModule>

<Directory "/home/root/download">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end download.domain.net.

Offline
*
Re: SubDomain Problem
« Reply #1 on: January 10, 2015, 09:06:50 PM »
Solved the Problem
« Last Edit: January 11, 2015, 11:48:14 AM by Gothic »

Offline
*
Re: SubDomain Problem
« Reply #2 on: January 20, 2015, 09:09:23 AM »
Solved the Problem

can you explain how to solve your problem..
thank..
sorry for my bad english :(

Offline
**
Re: SubDomain Problem
« Reply #3 on: January 28, 2015, 11:32:07 PM »
I didnt have any problems added one last night  :o

Offline
*
Re: SubDomain Problem
« Reply #4 on: February 03, 2015, 09:11:59 PM »
try rebuilding your apache vhost this will also rebuild all vhosts.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: SubDomain Problem
« Reply #5 on: August 25, 2015, 04:24:27 PM »
try rebuilding your apache vhost this will also rebuild all vhosts.

I have youse root update and restart, now i have this problem back and i have youse vHost re-builder and its not fix loger this problem.... i need help  :'(

//Fixed omg

Step 1: Select WebServers ---> Select your WebServer Option  -----> Save & Rebuild Configuration
Step 2: Data Updated.
Step 3: Use: *** Rebuild All Virtual Hosts ***

Step 4: Its fix now
« Last Edit: August 25, 2015, 04:31:19 PM by Gothic »