How to Set Us Up a Website

Discussion in 'Computer Science & Culture' started by lixluke, Jan 13, 2005.

Thread Status:
Not open for further replies.
  1. lixluke Refined Reinvention Valued Senior Member

    Messages:
    9,072
    HOW TO CREATE A WEBSITE WITH BULLETIN BOARD/FORUM, CHAT, EMAIL, AND STORE w/ SHOPPING CART.



    1. I created a webpage on my computer using one of my applications that will save the file as a

    webpage (.htm). Most office applications will allow you to save a file as a webpage (.htm). This

    means that the file opens using a browser such as Internet Explorer.

    2. I created a folder for the website files, called sitefiles.
    3. I named the the front page, index.htm. (The front page is the page that appears when the user

    enters the domain name into the browser.)

    4. All files, folders, and subfolders for the site are located in the sitefiles folder. (That way

    everything in the site can be linked to one another under one folder. When the folder moves,

    everything in the folder is still linked together.)
    5. Register a domain name, and sign up with a host.
    -I used www.lypha.com for my host. They registered my domain name for me.
    -I recieved the following:
    a. My domain name: www.exampledomain.com
    b. A 'webspace' on my host's computer for my website files.
    c. A static IP address for my website.
    d. A username and password for my webspace.


    6. My host set my static IP address to my webspace, and attached my www.exampledomain.com to the

    the IP address.

    7. I installed an FTP application on my computer. The FTP application allows me to transfer

    folders/files between my computer and my webspace.

    8. I open up the FTP application, and entered my static IP address, username, and password. I

    pressed the connect button to connect to my webspace. There are two main windows on the FTP

    screen. One is a windows explorer for my computer. The other is a windows explorer for my

    webspace. The webspace already has a few files and folders in it which are the foundation for my

    site.

    9. Within the FTP application, I navigate to my sitefiles folder on my computer. I drag the folder

    to my webspace. This action actually copies the folder from my computer onto my webspace as

    opposed to actually moving it.

    10. There is a 'public' folder already in my webspace. Everything in that folder is what appears

    on the internet. I move my sitefiles folder into that folder. (I could have dragged and dropped it

    from my computer into that folder in the beginning in my FTP application.)

    11. Now that the sitefiles folder is in the public folder, people can access the files in my

    sitefiles folder with a browser.

    For Example: Typing in www.exampledomain.com/sitefiles/index.htm on a browser will open up my

    front page (index.htm). Any file within the sitefiles folder can be accessed in a similar manner.

    12. If I move my index.htm file out of the sitefiles folder, and onto the public folder, I can

    access it with a browser by entering www.exampledomain.com. Furthermore, it will appear on the

    browser simply as www.exampledomain.com as opposed to www.exampledomain.com/index.htm. If you wish

    to enter the /.index.htm at the end, you may do so, and the site will appear with the /index.htm

    on it. (Note the file must be named intex.htm in order to do this. If you name the file anything

    else, it won't work. Also any links to the file must be changed now that it has been moved to the

    outside folder.)

    13. The host I signed up for included a control panel with various features including a file

    manager and applications such as bulletin board maker (like this one), chatroom maker, email

    server maker, database, and more. As I figure out how to use these, I'll provide instructions

    here.


    Now I may move on to creating a forum.




    BULLETINBOARD FORUM
    1.I used the installer that was included in my remote control panel to installl my BBFORUM.

    2. You can go to phpBB.com to download their installer files, and upload them onto your webspace.

    3. Once it is installed, you can go to your BBForum, and create all the sections and styles within

    the administrator control panel.




    That's all I know how to do so far. When I figure out how to create an email server so that people can sign up for email@exampledomain.com, I will post the instructions here.

    Unless comebody else can explain that.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. lixluke Refined Reinvention Valued Senior Member

    Messages:
    9,072
    I sent a some questions to the host asking if I can have two completely separate websites under the same account/IP address.

    They said that I can.
    If this is true, I can have www.website1.com and www.website2.com in the same place.

    Do you think this is true?
    I know if a person types in www.website1.com, they go to the index page www.website1.com.

    If I park another domain into my account, such as www.website2.com, would a person be able to access it so that it shows www.website2.com on their browser, and not show a subdirectory of www.website1.com?
     
  4. Google AdSense Guest Advertisement



    to hide all adverts.
  5. 0scar J'aime La Moutarde Registered Senior Member

    Messages:
    113
    They may have meant you can have a separate subdomain, like "whatever.exampledomain.com". I don't think you can have 2 domain names registered on one IP address, though I may be wrong.
     
  6. Google AdSense Guest Advertisement



    to hide all adverts.
  7. Ste_harris Net Ninja Registered Senior Member

    Messages:
    199
    Good stuff, should get a sticky when you've finished it or at least referenced when someone asks about setting up a website, i just want to point out a small typo so no one following these instructions gets confused, you've put intex.htm instead of index.htm, apart from that it all sounds pretty good

    Keep up the good work
     
  8. Xerxes asdfghjkl Valued Senior Member

    Messages:
    3,830
    Yes, just point the domain to that directory. You can do this by pointing your domain at afraid.org, and then redirecting that to the folder (or just pointing it directly, depends on your needs).

    Basically, a domain is just a mask over the IP address to make navigation easier. It points requests from the domain name server to the web Server. So you can redirect anywhere you want.
     
  9. one_raven God is a Chinese Whisper Valued Senior Member

    Messages:
    13,433
    Same account or same IP Address?

    If you can have multiple IP Addresses with your account you can assign more than one IP Address to a single server (or NAT device) and assign each IP Address to a specific domain name.

    The only option that comes to mind for using a single IP address for multiple domains is if your ISP offers some sort of PAT routing service (and you also used a personal PAT device), which is unlikely.
     
  10. lixluke Refined Reinvention Valued Senior Member

    Messages:
    9,072
  11. Xerxes asdfghjkl Valued Senior Member

    Messages:
    3,830
    First things first--

    If possible, NEVER buy domains through the hosting company. It can make it difficult to transfer the domain, and dns companies typically allow you greater flexability. Is what you did?

    Basically, you have to sign up at http://afraid.org (or a similar organization. I prefer afraid.) Then, point your domain to ns1.afraid.org and ns2.afraid.org. After that, add a web forward as a url to the absolute root directory, in your case www.domain1.com/subfolder/ and check the 'cloak'. Thats it.
     
  12. lixluke Refined Reinvention Valued Senior Member

    Messages:
    9,072
    Yes I got the domain name when I signed up with my host. They registered the name for me when I signed up with them.
    Unfortunately, now my host manages it. It isn't that bad though.

    The good thing is that I pay $6.95 per month, I get 4 months free, and the domain name/registration was free as well.

    Therefore, I have paid them no extra fees other than the plain $6.96 per month.


    I also purchased a domain name from www.stargateinc.com. They charged me about $7.20 for a whole year. They have a control panel for my domain name so I can manage the domain name myself. I thought it was a pretty good deal.

    So now I own two domains.

    Here's the dillema:

    I will call the domain that I registered with my host, www.domain1.com.
    I will call my second domain, www.domain2.com.

    Within my hostcontrolpanel for www.domain1.com, I used the Addon Domain feature to ass www.domain2.com. This created a subfolder called "domain2" in my public_html folder. I uploaded a file that I named "index.htm" into that folder. That is the front page that I created for www.domain2.com.

    Now, when a person types in www.domain2.com into their browser, it points to www.domain1.com/domain2/index.htm.

    Therefore, even though the person typed in www.domain2.com or clicked a link saying, www.domain2.com, when the page loads, it still appears as www.domain1.com/domain2/index.htm.

    How do I make it so that when a person types in www.domain2.com, it will appear as www.domain2.com when the page loads even though it points to www.domain1.com/domain2/index.htm.

    Thanks!
     
  13. Maddad Time is a Weighty Problem Registered Senior Member

    Messages:
    251
    I think my own domain's registration is up next month. I'm paying too much; $20 a month, although it includes dial up access. I've been thinking about changing to another provider.
     
  14. lixluke Refined Reinvention Valued Senior Member

    Messages:
    9,072
    WTF!
    All of a sudden, the ad banner for my webhost (www.lypha.com)is flashing all over this section of sciforums.
     
  15. Xerxes asdfghjkl Valued Senior Member

    Messages:
    3,830
    Cool Skill,

    don't 'add' the domain in cpanel or whatever it is you're using. Well you can, but that just gives it a special cgi directory. Use afraid.org, and point the domain there, and then to the subfolder.
     
  16. lixluke Refined Reinvention Valued Senior Member

    Messages:
    9,072
    ok ill try
     
Thread Status:
Not open for further replies.

Share This Page