Hello , First of all I don't Know were should I have posted this so i posted this in this Section. I am Having a VPS server were i m hosting 1 site and now I tried hosting other site with Custom NS now whenever i try to access the second site it redirects me too the first site don't Know why I can't Post the Links of the website otherwise DP Mods will Give an Infraction to me as they always give for Example i m been hosting site1.com from earlier on my VPS then i add the Site2.com and made NS and change the NS of Site2.com to custom NS i made as both Sites on Same Server i m using the Same IP's now what happen is this Site2.com redirects to-> Site1.com Code (markup): any solution would be helpful
Did you modify Apache's (I am assuming you are running Apache) configuration file to accommodate site2?
Means i m unable to Understand can you please tell me what exactly ? , I m using Kloxo at my site and Apache as the WebServer
How did you host your first site? Open httpd.conf and find site1 in it. You'll find a virtualhost entry in it, create a similar one for site2 and define a web root for it.
According to me this Settings are automatically done by Kloxo , As Kloxo is the Alternative to CPanel , and i saw the Kloxo's VirtualHost List and it Just has the List of my VPS Ip's
yup I can , For Simplifying I m adding the Links of the actual site let DP give Infraction Site1 is http://www.downloaddeck.com site2 is http://bloggeruploads.com Code (markup):
Heres the VirtualHost CONF of Bloggeruploads : <VirtualHost \ 93.174.88.115:80\ > servername bloggeruploads.com ServerAlias www.bloggeruploads.com DocumentRoot /home/admin/bloggeruploads/ DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl ScriptAlias /awstats/ /home/kloxo/httpd/awstats/wwwroot/cgi-bin/ <IfModule suexec.c> SuexecUserGroup admin admin </IfModule> <IfModule mod_suphp.c> AddType application/x-httpd-php .php RemoveHandler .php <FilesMatch "\.php$" > SetHandler x-httpd-php </FilesMatch> <Location /> suPHP_AddHandler x-httpd-php </Location> SuPhp_UserGroup admin admin </IfModule> Redirect /stats http://bloggeruploads.com/awstats/awstats.pl Redirect /stats/ http://bloggeruploads.com/awstats/awstats.pl Alias /__kloxo /home/admin/kloxoscript Redirect /webmail http://webmail.bloggeruploads.com Redirect /kloxononssl http://cp.bloggeruploads.com:7778 Redirect /kloxo https://cp.bloggeruploads.com:7777 <Directory /home/httpd/bloggeruploads.com/kloxoscript> AllowOverride All </Directory> ScriptAlias /cgi-bin/ /home/admin/bloggeruploads//cgi-bin/ CustomLog /home/httpd/bloggeruploads.com/stats/bloggeruploads.com-custom_log combined ErrorLog /home/httpd/bloggeruploads.com/stats/bloggeruploads.com-error_log <Directory /home/admin/bloggeruploads/> AllowOverride All </Directory> <Location /> Options +Includes +FollowSymlinks </Location> <Directory /home/httpd/bloggeruploads.com/webstats> AllowOverride All </Directory> <Location /stats> Options +Indexes </Location> <IfModule mod_suphp.c> suPHP_Configpath /home/httpd/bloggeruploads.com </IfModule> <Location /> <IfModule sapi_apache2.c> php_admin_value open_basedir "/home/httpd/bloggeruploads.com/httpdocs:/home/httpd/bloggeruploads.com/bloggeruploads.com:/home/admin/:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script" </IfModule> <IfModule mod_php5.c> php_admin_value open_basedir "/home/httpd/bloggeruploads.com/httpdocs:/home/httpd/bloggeruploads.com/bloggeruploads.com:/home/admin/:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script" </IfModule> </Location> </VirtualHost> <IfModule mod_ssl.c> #### ssl virtualhost per ip <VirtualHost 93.174.88.115:443> servername bloggeruploads.com ServerAlias www.bloggeruploads.com DocumentRoot /home/admin/bloggeruploads/ DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp index.pl ScriptAlias /awstats/ /home/kloxo/httpd/awstats/wwwroot/cgi-bin/ <IfModule suexec.c> SuexecUserGroup admin admin </IfModule> <IfModule mod_suphp.c> AddType application/x-httpd-php .php RemoveHandler .php <FilesMatch "\.php$" > SetHandler x-httpd-php </FilesMatch> <Location /> suPHP_AddHandler x-httpd-php </Location> SuPhp_UserGroup admin admin </IfModule> Redirect /stats http://bloggeruploads.com/awstats/awstats.pl Redirect /stats/ http://bloggeruploads.com/awstats/awstats.pl Alias /__kloxo /home/admin/kloxoscript Redirect /webmail http://webmail.bloggeruploads.com Redirect /kloxononssl http://cp.bloggeruploads.com:7778 Redirect /kloxo https://cp.bloggeruploads.com:7777 <Directory /home/httpd/bloggeruploads.com/kloxoscript> AllowOverride All </Directory> ScriptAlias /cgi-bin/ /home/admin/bloggeruploads//cgi-bin/ <Directory /home/admin/bloggeruploads/> AllowOverride All </Directory> <Location /> Options +Includes +FollowSymlinks </Location> <Directory /home/httpd/bloggeruploads.com/webstats> AllowOverride All </Directory> <Location /stats> Options +Indexes </Location> SSLEngine On SSLCertificateFile /home/kloxo/httpd/ssl/venet0_0___localhost.crt SSLCertificateKeyFile /home/kloxo/httpd/ssl/venet0_0___localhost.key SSLCACertificatefile /home/kloxo/httpd/ssl/venet0_0___localhost.ca <IfModule mod_suphp.c> suPHP_Configpath /home/httpd/bloggeruploads.com </IfModule> <Location /> <IfModule sapi_apache2.c> php_admin_value open_basedir "/home/httpd/bloggeruploads.com/httpdocs:/home/httpd/bloggeruploads.com/bloggeruploads.com:/home/admin/:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script" </IfModule> <IfModule mod_php5.c> php_admin_value open_basedir "/home/httpd/bloggeruploads.com/httpdocs:/home/httpd/bloggeruploads.com/bloggeruploads.com:/home/admin/:/tmp:/usr/share/pear:/var/lib/php/session/:/home/kloxo/httpd/script" </IfModule> </Location> </VirtualHost> #### ssl virtualhost per ip 93.174.88.115 end </IfModule> Code (markup):