View Full Version : vhosts
symmetry
16th May 2006, 17:53
ispconfig works well now,
but I wanted to know how to set vhosts, such as: test.xxyy.net when my domain is xxyy.net
thanks
falko
16th May 2006, 18:07
If you want test.xxyy.net to use the same folders as xxyy.net, then add test.xxyy.net on the Co-Domains tab of the xxyy.net web site.
If you want a web site of your own for test.xxyy.net, then create a new web site and specify test as hostname and xxyy.net as domain.
symmetry
16th May 2006, 21:02
I've already tried this, but when I do it, I get the following error when I open
http://xxxyy.net
Herzlich Willkommen auf test.xxyy.net!
Dies ist die Standard-Index-Seite Ihres Webs. Sie können sie problemlos löschen oder durch eine andere Seite ersetzen. Es handelt sich hierbei um die Datei index.html im Verzeichnis web.
And test.xxyy.net gives a server not found error
I also have to restart apache manually.
falko
17th May 2006, 16:48
I've already tried this, but when I do it, I get the following error when I open
http://xxxyy.netThat's no error, that's the standard index page created by ISPConfig for new web sites.
And test.xxyy.net gives a server not found error
Did you create a DNS record for test.xxyy.net that points to the same server as xxyy.net?
symmetry
18th May 2006, 13:26
That's no error, that's the standard index page created by ISPConfig for new web sites.
Yes, but it comes for my main domain when I try to make a subdomain.
Did you create a DNS record for test.xxyy.net that points to the same server as xxyy.net?
I tried everything there, but alwas the same problem.
I'm sure thats it's my error, but I don't know what to do next. :confused: :cool:
falko
18th May 2006, 20:19
Yes, but it comes for my main domain when I try to make a subdomain.If your subdomain is a Co-Domain of the web site, then this is ok.
I tried everything there, but alwas the same problem.
I'm sure thats it's my error, but I don't know what to do next. :confused: :cool:Please post the real domain and subdomain here.
symmetry
21st May 2006, 13:57
i've made a subdomain mi.supersymmetry.net
but now he shows the welcome page for mi.supersymmetry.net at supersymmetry.net
Please check if mi.supersymmetry.net has a co-domain supersymmetry.net. If yes, delete this co-domain.
symmetry
21st May 2006, 15:13
cool :D , now the main domain works, but the subdomain still doesn't
and how do I change now the path on my server to the main site?
symmetry
21st May 2006, 18:25
but now I get the error message: "shared ip"
http://supersymmetry.net/
falko
21st May 2006, 21:21
but now I get the error message: "shared ip"
http://supersymmetry.net/
Do you have a web site for supersymmetry.net, or is supersymmetry.net a Co-Domain of an existing web site (keep in mind that supersymmetry.net is different from www.supersymmetry.net)?
symmetry
21st May 2006, 23:16
I have website for http://supersymmetry.net/, but when I create a subdomain mi.supersymmetry.net, I get this page, and my standard website for the main domain is "lost". Shared ip comes for www.supersymmetry.net and supersymmetry.net.
Here my vhosts config:
ResourceConfig /dev/null
AccessConfig /dev/null
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 88.198.32.9
<VirtualHost 88.198.32.9>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: mi.supersymmetry.net
######################################
#
#
<VirtualHost 88.198.32.9>
ServerName mi.supersymmetry.net
ServerAdmin webmaster@supersymmetry.net
DocumentRoot /home/www/web7/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $
ErrorLog /home/www/web7/log/error.log
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 ^/~([^/]+)(/(.*))? /home/www/web7/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web7/user/$1/web/$3
</VirtualHost>
falko
22nd May 2006, 10:34
<VirtualHost 88.198.32.9>
ServerName mi.supersymmetry.net
ServerAdmin webmaster@supersymmetry.net
DocumentRoot /home/www/web7/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $
ErrorLog /home/www/web7/log/error.log
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 ^/~([^/]+)(/(.*))? /home/www/web7/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web7/user/$1/web/$3
</VirtualHost>
You have a web site mi.supersymmetry.net because mi.supersymmetry.net comes in the ServerName line. But you don't have any Co-Domains for that web site because otherwise there would be a ServerAlias line with your Co-Domains. Please go to the Co-Domains tab of your mi.supersymmetry.net web site and create your Co-Domains.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.