1 wayra Apr 12, 2007 05:49
3 wayra Apr 14, 2007 19:37
Please a guru out there...
I think the multidomain guilines in this link from the documents is not right
http://manual.b2evolution.net/MultipleDomains
What is missing there, cus I am following exactly as it is.
Help please
W.
4 yabba Apr 15, 2007 09:42
What you're missing is telling us the actual problem ;)
¥
5 wayra Apr 15, 2007 09:57
I get
http://www.mydomain.com/blogs/index.php works FINE
http://hello.mydomain.com/ (subdomain) it does not display anthing
"'Firefox can't find the server at hello.mydomain.com."
Thanks for yoru reply
6 yabba Apr 15, 2007 10:02
It looks like you've missed the first bit of the instructions :-
Set up your webserver
The webserver should be setup to map all (sub-)domains to the same DocumentRoot (as it's called in Apache). So accessing foo.example.com should go to the same DocumentRoot ("public_html" folder) as bar.example.com. (Note: you could even map otherdomain.com to the same place.)
apache2.conf should include something like this:
<VirtualHost *> ServerName mydomain.com ServerAlias *.mydomain.com UseCanonicalName Off DocumentRoot /home/mydomain/www DirectoryIndex index.html index_multi.php </VirtualHost>
¥
7 wayra Apr 16, 2007 04:58
I did changed the httpd.conf file as stayed in the guidelines for Multidomains in docs area, But it is not working
I had it just as you typed
I think the problem is wiht the .htaccess file, but I dont know where
Thanks
W.
8 yabba Apr 18, 2007 10:49
Try removing your htaccess and checking that the subdomain stuff actually works first ;)
¥
9 wayra Apr 19, 2007 15:35
Hi
my DNS has *.mydomain.com, but still is not working SUBDOMAIN
I am almost giving up and I am thinking to do it differently. "CLEAN URLS"
my installation is in: http://www.mydomian.com/blogs/
If I use a stub file then my blog will be:
http://www.mydomain.com/blogs/myblog
But since SUBdomain is not working (I hope the team comes with a easier way of setting this up)
I would like to have this way:
http://www.mydomain.com/myblog (I want to drop "blogs")
I installed in the folder blogs, because it is easier to maintain and update new versions.
So please give me a hand here
Thanks[/u]
10 yabba Apr 20, 2007 10:24
Just copy all your files from /blogs/ to / and then crack open conf/_basic_config.php and remove the blogs from $baseurl = 'http://www.mydomain.com/blogs/'; so that it looks like $baseurl = 'http://www.mydomain.com/';, save the changes and upload the file.
¥
11 strixy Apr 20, 2007 15:52
You'll also need to make sure that apache's mod_vhost is installed and that vhost_alias.load is in etc/apache2/mods-enabled.
The file paths posted here assume that you're running apache 2 on a Debian box, so the actual location of your config files for apache may differ. The below examples may have the incorrect paths as well...
<VirtualHost *>
ServerName mydomain.com
ServerAlias *.mydomain.com
UseCanonicalName Off
DocumentRoot /home/mydomain/www
DirectoryIndex index.html index_multi.php
# You can place your mod_rewrite here..
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /home/mydomain/www/index.php [L]
</IfModule>
</VirtualHost>
IN debian, those paths are usually
/var/www/whatever...
or, on other party platforms it could be
/home/domain_or_username/~public_html
double check your file paths
12 wayra Apr 22, 2007 03:55
Guys, thanks for your help, nice that u spend ur time with this issue.
Going back to the issue.
Yes, I kind of knew that I have to move the files from /blogs/ to /
But, I was trying to avoid that, cus if a new version comes up, then the folder are mixed up with the rest of folders in the server that ARE NOT B2, so it makes harder to do that. SO then I thought to keep them in /blogs/ BUT have the Stub file located in /
Therefore users will go to:
www.mydomain.com/myblog
eventhoug the actual installation is in /blogs/
Does it make sense now,
Thanks alot for u hlep and time
W
13 wayra Apr 22, 2007 04:02
Strixy
You said:
You'll also need to make sure that apache's mod_vhost is installed and that vhost_alias.load is in etc/apache2/mods-enabled.
The file paths posted here assume that you're running apache 2 on a Debian box, so the actual location of your config files for apache may differ. The below examples may have the incorrect paths as well...
Well, I do not have etc/apache2/mods-enabled this path in the server, so I am assuming that I do not run Apache 2 on a debian box
In this case, what are the different way of set this up, either the subdomain or the clean URL (www.mydomain.com/myblog without moving the installation to / )
Thanks
14 strixy Apr 22, 2007 04:09
wayra, I'm sure you understand that the next logical question I have is, "What are you running?" let me know.
I can tell from your answer that you pay for hosting somewhere and that you don't run a server yourself. In which case, check with your hosting provider and ask if a) are you on a Windows server or b) are you on a Linux server?
If you are on a linux server, as what version of Apache you have access to and if they have mod_vhost enabled.
15 wayra Apr 22, 2007 05:06
Linux
Apache 4.4.3
mod_vhost enable ( I talked with the admins, this has not been isntalled in the server)
How important is to have mod_vhost enable??
thanks
Guys,
Please give me some guidelines
Thanks alot :-)