Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> How To Setup A Website After Your Forum
Carson
post Feb 17 2008, 12:01 AM
Post #1


Super Member
*********

Group: [HOSTED]
Posts: 340
Joined: 29-April 07
Member No.: 42,353



This tutorial is about how to setup a website after you have setup a forum. That means, you have a forum, and are wanting to add a website. This tutorial will show you how to create the website in your root directory(Example: http://domainname.com), while your traffic gets redirected to your forum while you are creating it, until you're ready for guests to see it.

This method is opposed to setting it up in another directory, then moving it(particularly more time consuming if you're site is PHP based).

First of all, you are going to want to setup a redirect from your root directory to your forum directory. To do this, login to your CPanel, then under "Site Management Tools" goto "Manage Redirects".

On this page you should see your subdomain of trap17 with an input box at the end. Leave this box empty. Doing so will redirect your root directory. Now moving across to the next box, type in your domain/subdomain where your forum is located. For example: "http://mydomain.com/forums/". Dont forget to use www. if your forum has problems without. Some forums will log you out because of cookies if www. is or isnt included in the URL. Leave the drop-down box on temporary, and click "add".

Now goto your domain/subdomain in your browser. You should be redirected to your forum. If not, read back over the redirecting part of the tutorial and see what you did wrong. If you use an index.php file in your root directory, this method will not work(unless you use .html, but it is easier to use this method)

Next is to install/upload your website. This should contain and index file. Goto your domain this time adding the index file to the url. For Example: http://yourdomain.com/index.php.

Now all that is left to do is create your website. It is in it's final location so there is no need to move it anywhere, and when it is finished, you just have remove the redirect in your CPanel, and its all done.


Go to the top of the page
 
+Quote Post
[John]
post Feb 19 2008, 10:31 PM
Post #2


Newbie [Level 2]
**

Group: Members
Posts: 32
Joined: 19-February 08
Member No.: 58,129



or you could just create it as index.php then move the forum later tongue.gif

i believe index.html has read priority over index.php

you can experiment around and see which one is read first by putting an index.php, index.htm, and index.html in the home folder... there are many ways to develop while having a forum up and running, nice guide!
Go to the top of the page
 
+Quote Post
hitmanblood
post Feb 20 2008, 12:37 AM
Post #3


Privileged Member
*********

Group: [HOSTED]
Posts: 775
Joined: 13-April 07
From: mreža
Member No.: 41,558



QUOTE([John] @ Feb 19 2008, 11:31 PM) *

or you could just create it as index.php then move the forum later tongue.gif

i believe index.html has read priority over index.php

you can experiment around and see which one is read first by putting an index.php, index.htm, and index.html in the home folder... there are many ways to develop while having a forum up and running, nice guide!


This is just rgardin priority.

The thing about priority should be checked with apache since in configuration file of apache there is prority and depends how your apache server is set up and which priority is written first.

Also I would like to note eventhough this might not be needed said important thing is that this depends on variaous cases so the problem is that one operation that is procedure on one system might be completly different.
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 20 2008, 12:45 AM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Or you can always combine the two. Have a Forum embedded into your site.

http://www.trap17.com/forums/adding-aef-fo...cms-t51956.html

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. E-mail Mailer Script 0.1(4)
  2. How To Setup Your Own Dns (domain Name Server)(1)
  3. Secure The Email Addresses On Your Website!(10)
  4. Mysql Database Setup(1)
  5. How To Create A Phpbb Fm(52)
  6. Phpbb Forum Site Transfer(20)
  7. Pet/animal Care Forum(18)
  8. How To Set Up A Phbb Forum On A Simple Page.(4)
  9. Introduction To Templating(1)
  10. Installing A Phpbb2 Skin(5)
  11. Configuring Dns Settings For Website(1)
  12. Checking Dns Settings For Website(2)
  13. Putting A Signature On The Forum(35)
  14. Custom Bbcode Tags In Smf(0)
  15. Embedding Videoclips Into Pbpbb/nuke Forum Posts(0)
  1. Install A Simple Machines Forum(11)
  2. Adding Your Website To Google(20)
  3. Making A One Page Does All Website In Phph(2)
  4. Aef Forum Modifications(2)
  5. How To Create Forum Smilies(3)
  6. How To Make A Decent Forum(8)
  7. Adding An Aef Forum To Snews Cms(2)
  8. Css Scroll Bar Styles(1)
  9. Install An Aef Forum Onto The Trap17(11)
  10. Creating Navigation For Html Websites(12)
  11. Invisionfree Skin How-to Put On Your Forum(0)
  12. Add Flashing Inbox To Invisionfree Forum(0)
  13. Azurian Skin(0)


 



- Lo-Fi Version Time is now: 26th July 2008 - 06:36 AM