halfbakedj14
2-2-05, 12:37 AM
Hello. I have set up a sub domain that uses PHPNuke and it works 100% fine. My path to my sub domain is as follows:
cgi bin
htdocs
----php.ini
----mvc2(subdomain)
----portal
-------index.php(where I want my domain to go to)
My subdomain is in my htdocs folder. In my subdomain called "mvc2" I have a htdocs folder containing my .htaccess file that lets my subdomain be viewed as www.halfbakedj14.com/mvc2/.
my .htaccess file contains this code:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} mvc2.halfbakedj14.com
RewriteCond %{REQUEST_URI} !mvc2/
RewriteRule ^(.*)$ mvc2/index.php$1 [L]
AddType video/x-ms-asf asf asx
AddType audio/x-ms-wma wma
AddType audio/x-ms-wax wax
AddType video/x-ms-wmv wmv
AddType video/x-ms-wvx wvx
AddType video/x-ms-wm wm
AddType video/x-ms-wmx wmx
AddType application/x-ms-wmz wmz
AddType application/x-ms-wmd wmd
That works just fine. You are probablly wondering what my question is. I thought I would give you some infe on my file structure to give as detailed description as possible.
Now my question is, When i type in just my domain www.halfbakedj14.com, it takes my to the default PowWeb site that says "page is under construction". What I want to do is make a personal site, with PHPNuke, but I want it to be accessed by just my domain name, not any dash's or anything. My folder containing all my files are in a folder called "portal" and is on the same level as the subdomain called "mvc2".
Now how do I make my domain www.halfbakedj14.com go to the page called index.php inside my "portal" folder?
I am new to this so please excuse any mistakes I have made. Thank you.
cgi bin
htdocs
----php.ini
----mvc2(subdomain)
----portal
-------index.php(where I want my domain to go to)
My subdomain is in my htdocs folder. In my subdomain called "mvc2" I have a htdocs folder containing my .htaccess file that lets my subdomain be viewed as www.halfbakedj14.com/mvc2/.
my .htaccess file contains this code:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} mvc2.halfbakedj14.com
RewriteCond %{REQUEST_URI} !mvc2/
RewriteRule ^(.*)$ mvc2/index.php$1 [L]
AddType video/x-ms-asf asf asx
AddType audio/x-ms-wma wma
AddType audio/x-ms-wax wax
AddType video/x-ms-wmv wmv
AddType video/x-ms-wvx wvx
AddType video/x-ms-wm wm
AddType video/x-ms-wmx wmx
AddType application/x-ms-wmz wmz
AddType application/x-ms-wmd wmd
That works just fine. You are probablly wondering what my question is. I thought I would give you some infe on my file structure to give as detailed description as possible.
Now my question is, When i type in just my domain www.halfbakedj14.com, it takes my to the default PowWeb site that says "page is under construction". What I want to do is make a personal site, with PHPNuke, but I want it to be accessed by just my domain name, not any dash's or anything. My folder containing all my files are in a folder called "portal" and is on the same level as the subdomain called "mvc2".
Now how do I make my domain www.halfbakedj14.com go to the page called index.php inside my "portal" folder?
I am new to this so please excuse any mistakes I have made. Thank you.