How can I make subdomain in PhpFox script?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ieeev
Forum Newbie
Posts: 2
Joined: Fri Jun 27, 2008 12:49 pm

How can I make subdomain in PhpFox script?

Post by ieeev »

How can I make subdomain in PhpFox script?
.htaccess file:

ErrorDocument 403 /index.php?do=/public/error/403/
ErrorDocument 404 /index.php?do=/public/error/404/

RewriteEngine On

RewriteCond %{REQUEST_URI} !^/file/.*
RewriteCond %{REQUEST_URI} !^/install/.*
RewriteCond %{REQUEST_URI} !^/design/.*
RewriteCond %{REQUEST_URI} !^/plugins/.*
RewriteRule ^index.php(/.*)$ /index.php?do=$1 [L]

RewriteCond %{REQUEST_URI} !^/file/.*
RewriteCond %{REQUEST_URI} !^/install/.*
RewriteCond %{REQUEST_URI} !^/design/.*
RewriteCond %{REQUEST_URI} !^/plugins/.*
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteRule ^(.*)$ /index.php?do=/$1 [L]
ieeev
Forum Newbie
Posts: 2
Joined: Fri Jun 27, 2008 12:49 pm

Re: How can I make subdomain in PhpFox script?

Post by ieeev »

all hosting becoming like this:

phpfox.com/ieeev

I would like to be like this:

ieeev.phpfox.com


I need your help please.


ieeev
Post Reply