View Full Version : anyone using wordpress or even wordpressmu ?
Tenaka
24th November 2005, 09:51
I have severall big question to which ido not find any answer on their forums:
first of all, I am trying to setup wordpressmu, which will create blogs as subdomains, so they say I need a wildcard domain,
one user states this:
Here's what my vhost.conf looks like:
ServerAlias *.mydomain.com
<Directory /$HTTPD_VHOSTS_D/mydomain.com/httpdocs>
AllowOverride FileInfo
</Directory>
How would I achieve this in my ispcfg panel? I tried setting a * to myIP DNS record, but that does not help so far...
another requirement is: Apache FollowSymlinks must be switched on. This will disappear in later releases....
any hints for me? also Apache mod_rewrite is needed
another user states: I just told my host I wanted wildcard domains enabled, and that's what they did. and here I am, admin and all, not able to setup one myself :o
any hint is welcome...
falko
24th November 2005, 10:36
another requirement is: Apache FollowSymlinks must be switched on. This will disappear in later releases....
You can use the Apache Directives field in ISPConfig for it.
also Apache mod_rewrite is needed
That depends on your Apache configuration, not on ISPConfig. In most distributions mod_rewrite is already enabled.
Tenaka
24th November 2005, 11:42
You can use the Apache Directives field in ISPConfig for it.
I already tried that, what will happen to the lines I add there? where will ispcfg insert them? just curious what happens behind the curtains...
till
24th November 2005, 11:46
ISPConfig adds the lines in the vHost section of the apache configuration of this site. But first ISPConfig tests if they are valid, if not the will be commented out.
Tenaka
23rd August 2006, 15:57
what if I want to add 2 directives? one per line or how do I add them in here?
talking about this:
Options FollowSymLinks
AllowOverride All
leads to this:
# Options FollowSymLinks # NOT SUPPORTED!
# AllowOverride All # NOT SUPPORTED!
so where is the error? why are both not supported all of a sudden? if I only use Options FollowSymLinks it gives me no error and seems to work...
Tenaka
23rd August 2006, 19:43
as I did not get it working I have been playing around. what I isnerted into apache directives is this:
Options FollowSymLinks
<Directory /var/www/web5>
AllowOverride All
</Directory>
and the output generated in the Vhostsfile is this:
# Vhost: www.zice.ro:80
######################################
#
#
<VirtualHost 85.214.51.208:80>
Options FollowSymLinks
<Directory /var/www/web5>
AllowOverride All
</Directory>
SuexecUserGroup web5_postmaster web5
ServerName www.zice.ro:80
ServerAdmin webmaster@zice.ro
DocumentRoot /var/www/web5/web
ServerAlias zice.ro *.zice.ro
is this valid? can there be a directory inside a vhost ? is that ok? I was not sure how to do it otherwise...
falko
24th August 2006, 18:29
is this valid? can there be a directory inside a vhost ? is that ok? I was not sure how to do it otherwise...
Yes, this is valid.
Tenaka
25th August 2006, 13:33
thx.
It seems I partially solved my problem: I opened webmin, went to module options of bind (although I never used this) and changed allow wildcards from NO to YES.
now I can ping ovizii.zice.ro a blog which I had created for testpurposes... still DNS does not resolve it but I guess I am on the right way :-)
falko
26th August 2006, 15:21
still DNS does not resolve it but I guess I am on the right way :-)
It's working for me:
mh1:~# dig ovizii.zice.ro
; <<>> DiG 9.2.1 <<>> ovizii.zice.ro
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10278
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;ovizii.zice.ro. IN A
;; ANSWER SECTION:
ovizii.zice.ro. 86400 IN A 85.214.51.208
;; Query time: 40 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Sat Aug 26 14:20:53 2006
;; MSG SIZE rcvd: 48
jonwatson
6th March 2007, 19:04
Can the orignal poster (or someone else) elaborate on how to enable wildcard DNS within ISPConfig?
I need it for WordpressMU as well.
Thanks!
Tenaka
6th March 2007, 23:37
like I said I used webmin => servers => bind => allow wildcard DNS (/I don't know how to do this otherwise)
Then you need to setup a wildcard subdomain (dunno if this is the right term for it) but again I am unsure which of these two methods is right, I just know I did both and its working:
a) in ispcfg enter a new dns record like this: *.yourdomain.com as hostname and your IP in the IP field
b) in ispcfg enter a new dns record like this: * as hostname and your IP in the IP field
I dunno wich one is correct but having both added does no harm and works.
jonwatson
6th March 2007, 23:56
like I said I used webmin => servers => bind => allow wildcard DNS (/I don't know how to do this otherwise)
Then you need to setup a wildcard subdomain (dunno if this is the right term for it) but again I am unsure which of these two methods is right, I just know I did both and its working:
a) in ispcfg enter a new dns record like this: *.yourdomain.com as hostname and your IP in the IP field
b) in ispcfg enter a new dns record like this: * as hostname and your IP in the IP field
I dunno wich one is correct but having both added does no harm and works.
Thanks. I saw the post, but I was hoping for a way to part 1 within ISPConfig. However, I've mucked around a bit with your instructions and I think I have it working. I need a little more time to be sure that my DNS has propagated properly to be sure, but it looks good.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.