PDA

View Full Version : CO-Domain problem


DUCKFACE
6th August 2009, 13:13
hello
i have a prob with makeing co-domains
for now i have sometin.com
i wanna make it with co-domains like a.sometin.com, b.sometnin.com
how can i make it with ispconf2?
i put the co-domain Hostname: a
domain: sometin.com
chreate DNS : checked
forward: /subfolder/

and it still send me to the shared IP

what am i doing wrong ?
thanks
________
MARIJUANA HEMP (http://marijuanahemp.com)
________
JEAN TODT (http://www.ferrari-wiki.com/wiki/Jean_Todt)
________
Silver Easy Vape Review (http://vaporizerinfo.com/)

falko
7th August 2009, 13:46
What's in Vhosts_ispconfig.conf, and what's the output of ifconfig?

DUCKFACE
9th August 2009, 15:01
</IfModule>
Alias /error/ "/var/www/web4/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
RewriteEngine on
RewriteCond %{HTTP_HOST} ^a\.sometin\.com [NC]
RewriteRule ^/(.*)$ http://www.sometin.com/a/index.php$1 [R]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
#
<IfModule mod_ssl.c>
<VirtualHost 192.168.1.2:443>
ServerName www.sometin.com:443
ServerAdmin webmaster@sometin.com
DocumentRoot /var/www/web4/web
ServerAlias sometin.com a.sometin.com
DirectoryIndex index.html
Alias /cgi-bin/ /var/www/web4/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web4/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
<IfModule mod_ruby.c>
<Directory /var/www/web4/web>
Options +ExecCGI
</Directory>
RubyRequire apache/ruby-run
#RubySafeLevel 0
<Files *.rb>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
</IfModule>
<IfModule mod_python.c>
<Directory /var/www/web4/web>
#Options +Indexes +FollowSymLinks +MultiViews
#AllowOverride Indexes AuthConfig Limit FileInfo
#Order allow,deny
#allow from all
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
</Directory>
</IfModule>
SSLEngine on
SSLCertificateFile /var/www/web4/ssl/www.sometin.com.crt
SSLCertificateKeyFile /var/www/web4/ssl/www.sometin.com.key
Alias /error/ "/var/www/web4/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3
RewriteEngine on
RewriteCond %{HTTP_HOST} ^a\.sometin\.com [NC]
RewriteRule ^/(.*)$ https://www.sometin.com/a/index.php$1 [R]
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
</IfModule>

**
ifcongif
**
eth0 Link encap:Ethernet HWaddr 00:**:**:**:**:*4
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe*0::***:f***:f***:7***/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3514764 errors:0 dropped:0 overruns:0 frame:0
TX packets:2395152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4036803642 (4.0 GB) TX bytes:642856075 (642.8 MB)
Interrupt:17 Base address:0xa000

falko
10th August 2009, 10:27
Please post the full contents of the Vhosts_ispconfig.conf file.

DUCKFACE
10th August 2009, 11:51
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.101:80
<VirtualHost 192.168.1.101:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
</IfModule>
</VirtualHost>

falko
11th August 2009, 16:50
That's still not the full file...

DUCKFACE
11th August 2009, 22:11
the rest is for other vhosts and they r working pretty fine (at first look). why do u need it ?
________
Honda Cb650Sc (http://www.cyclechaos.com/wiki/Honda_CB650SC)
________
Handjob fetish (http://www.fucktube.com/categories/674/fetish/videos/1)
________
WENDIE 99 (http://www.lovelywendie99.com/)

DUCKFACE
11th August 2009, 22:21
actualy there is "more" but i dont know why it is not in shte first part i posted ... whatever .. here is the beast ...
<VirtualHost 192.168.1.2:80>
ServerName www.somethin.com:80
ServerAdmin webmaster@somethin.com
DocumentRoot /var/www/web4/web
ServerAlias somethin.com a.somethin.com
DirectoryIndex index.html
Alias /cgi-bin/ /var/www/web4/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web4/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
<IfModule mod_ruby.c>
<Directory /var/www/web4/web>
Options +ExecCGI
</Directory>
RubyRequire apache/ruby-run
#RubySafeLevel 0
<Files *.rb>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
<Files *.rbx>
SetHandler ruby-object
RubyHandler Apache::RubyRun.instance
</Files>
</IfModule>
<IfModule mod_python.c>
<Directory /var/www/web4/web>
#Options +Indexes +FollowSymLinks +MultiViews
#AllowOverride Indexes AuthConfig Limit FileInfo
#Order allow,deny
#allow from all
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
</Directory>

and after this is the first post ... :o

falko
12th August 2009, 14:46
And www.somethin.com and somethin.com are working, but a.somethin.com is not?

DUCKFACE
12th August 2009, 15:45
somethin.com is working
a.sometin.com send me to the shared ip page ...
for 2 days i was wondering .. whats strange in this conf ... but everythin seems to be ok
________
Mazda luce picture (http://www.ford-wiki.com/wiki/Mazda_Luce)
________
Honda Cd200 Roadmaster History (http://www.honda-wiki.org/wiki/Honda_CD200_RoadMaster)
________
LM002 (http://www.lamborghini-tech.com/wiki/Lamborghini_LM002)

falko
13th August 2009, 17:41
Does the DNS record for a.somethin.com point to the correct IP?

DUCKFACE
14th August 2009, 18:43
falko ...
how can i send u a beer ?
do u have the new USB BEER COOLING SYSTEM :D
the problem was the DNS record ...
i check it twice .. on ISP record was with the right IP
in the DNS replication file it was with another ...
anywhay ..
the next post gonna be "HOW TO MAKE VIRTUAL IP FOR MULTI HTTPs SITES" :o
________
New Mexico Dispensaries (http://newmexico.dispensaries.org/)
________
Pregnant Latina (http://www.fucktube.com/categories/914/latina/videos/1)
________
Child Zoloft (http://www.classactionsettlements.org/lawsuit/zoloft/)

DUCKFACE
14th August 2009, 18:51
btw ... how r u makeing this ...
in the address bar ... to be visible http://a.somethin.com instead http://somethin.com/a/index
________
BMW M535I HISTORY (http://www.bmw-tech.org/wiki/BMW_M535i)
________
LEN BAILEY (http://www.ford-wiki.com/wiki/Len_Bailey)
________
Redhead Cams (http://www.girlcamfriend.com/webcam/redhead-girls/)