Thread: starting a website

  1. #1
    Caution: Wet Floor
    Join Date
    May 2006
    Posts
    55

    starting a website

    Hi,

    Say you go to a site like godaddy.com and register the domain example.com.
    How do you make modifications to the homepage?

    I learned (and am still learning) how to do some basic things with HTML like edit an "index.html." But how do you access, say, an index.html file for example.com, when example.com is being hosted remotely? Do you have to call GoDaddy and ask them if you can edit index.html?

    Haha, please don't laugh too hard. I'm very green on this and would just like to know the first steps in building a website.

  2. #2
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Um... you upload your files to the server ... It's just an FTP server (probably running Apache), and all you do is access the server via username/password. And you literally drag your files into the server. Files with the same name will be overwritten, so you make changes to the index.html offline, then drag it into the server and overwrite the existing one.

    Once you get the server they'll probably configure it for you, such as, set your homepage, etc..
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  3. #3
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    index.html is usually the default. If you'd like another file to be the default, just put a redirect in within the head. I do it with my site as "mainindex.shtml" is my main page - I just have the "index.html" have a simple link in it with a redirection notice (in case the browser doesn't redirect, an alternative is provided), and after a few seconds, the page redirects.

    Also, make sure that you have the DNS nameservers set properly. It'll take a few hours for it to take effect, but once it does, feel free to upload whatever files you need.

    As a side note, you can test HTML without even needing a website - just have the files stored on your own hard drive and link to them using the file:// protocol instead of the http:// protocol. That is "file://C:\My Documents\example.html", then just open the file in your browser. Images and styles are all the same way.

    How I edit my website, of which I'll be doing shortly, is use Wordpad to type up everything as needed offline, then to upload the updated contents and any new files/images, I just use WS_FTP LE (which is very buggy) to upload everything where it needs to go. I use a folder called "images" in the root that contains all the images - GIF, JPG, and PNG images. Another folder, "temporary", is primarily used for putting images and things for use in forums and vaguely relate to my website. "files" is for general files (usually as ZIP files). The related webpages themselves are sorted by category and subcategory.
    High elevation is the best elevation. The higher, the better the view!
    My computer: XP Pro SP3, 3.4 GHz i7-2600K CPU (OC'd to 4 GHz), 4 GB DDR3 RAM, X-Fi Platinum sound, GeForce 460, 1920x1440 resolution, 1250 GB HDD space, Visual C++ 2008 Express

  4. #4
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    As a side note, you can test HTML without even needing a website - just have the files stored on your own hard drive and link to them using the file:// protocol instead of the http:// protocol. That is "file://C:\My Documents\example.html", then just open the file in your browser. Images and styles are all the same way.
    You can miss several bug this way - due to hard-coded links that are by mistake set here or there...

    It is not too hard to setup the IIS server supplied with XP and test the files in the "real" environment
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  5. #5
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    For learning purposes, doing it that way is better than, say, using some webhost not to mention being much faster. When you, for example, learn how to add a table and want to try it out, links to external files, whether on your own hard drive or remotely on your webhost, aren't necessary. Still, links can be used in this way for learning purposes. For having it on a website, however, using the file:// protocol is highly not recommended.
    High elevation is the best elevation. The higher, the better the view!
    My computer: XP Pro SP3, 3.4 GHz i7-2600K CPU (OC'd to 4 GHz), 4 GB DDR3 RAM, X-Fi Platinum sound, GeForce 460, 1920x1440 resolution, 1250 GB HDD space, Visual C++ 2008 Express

  6. #6
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Search Wampserver from google - that's everything you need for a web server. It includes Apache, PHP and MySQL.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  7. #7
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Not sure he would want to run a server. Nor would he want PHP or SQL.

  8. #8
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    He/she stated in the the first message that he/she just learned some basic HTML (probably bold, italic, the general design and rules, and other simple tags). PHP would likely be beyond the user's knowledge at the moment.
    High elevation is the best elevation. The higher, the better the view!
    My computer: XP Pro SP3, 3.4 GHz i7-2600K CPU (OC'd to 4 GHz), 4 GB DDR3 RAM, X-Fi Platinum sound, GeForce 460, 1920x1440 resolution, 1250 GB HDD space, Visual C++ 2008 Express

  9. #9
    Caution: Wet Floor
    Join Date
    May 2006
    Posts
    55
    Thanks for your help so far, but I'm still having trouble understanding.

    He/she stated in the the first message that he/she just learned some basic HTML (probably bold, italic, the general design and rules, and other simple tags). PHP would likely be beyond the user's knowledge at the moment.
    Yeah. I barely know what `<br>' and `<p>' are.

    Regarding the website: So after I've created, tested, and am satisfied with my `index.html' file, I use an FTP utility to transfer the file to godaddy (or whoever is hosting the website)? Do I need to get a username and password from the web hosting service to do this?
    So say the nameserver is NNN.NNN.NNN.NNN. Do I do ftp NNN.NNN.NNN.NNN -> username/password -> put index.html?


    Haha, yeah. I'm really lost. But any additional help would be really...let's see...helpful!

  10. #10
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    Okay here we go:

    With a basic account, godaddy.com (as far as I know) doesn't host any files, but only gives you your namespace. That means that godaddy.com will allow to register www.examplesite.com with them, but you can't actually store any files on their servers with a basic account (as far as I know, please correct me if I am wrong).

    When you have your account at godaddy.com, and you have registered a namespace, you can then login to your account there. When you are logged in, it will bring up a page with many options about how you want to configure your .com website, including what server will be hosting/storing your files. So you want to set that option correctly to point to the server that is storing your index.html file.

    Next...you need some server to store your files. If I am correct, a more premium package at godaddy.com will allow you to store your files on their server, but once again, I am not completely sure.

    There are many other ways to get a file server, however. There are many free hosts out there who will store your files. You just have to find one. They all vary when it comes to how good they actually are, and they might asks for certain stipulations.

    Another option, if you are at a university, is to see if your university allows you some space on their servers. For example, at my university of BYU, every student is allowed 20 MB of space on the servers. As a Computer Science student, we are given an extra 300 MB of space on the CS servers. I normally use the CS servers at my school as my web host and file host.

    Whatever way you do it, you need to find a server who will store your files, and then tell godaddy.com to point to that server in your godaddy.com account.
    My Website

    "Circular logic is good because it is."

  11. #11
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    If you only want to experiment with some basic HTML stuff, write me a Private Message and i'll give you a free subdomain with limited webspace on my domain progressive-coding.com

  12. #12
    Caution: Wet Floor
    Join Date
    May 2006
    Posts
    55
    Whatever way you do it, you need to find a server who will store your files, and then tell godaddy.com to point to that server in your godaddy.com account.
    Okay, this makes more sense. I have a yahoo briefcase account (example username: john_doe) that gives you 30 MB of free file storage (on 66.218.75.186). So do I say

    register examplesite.com and point to account john_doe on nameserver 66.218.75.186 ?

  13. #13
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Just go with 1and1 hosting. Domain and hosting in one package. If you want to get a website, do it right, not half-ass.

    30Mb is for losers!
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  14. #14
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    ust go with 1and1 hosting. Domain and hosting in one package. If you want to get a website, do it right, not half-ass.

    30Mb is for losers!
    Some people don't have large files downloadable from their website. In his case, if he is just playing around with HTML, 30 MB is more than enough.

    I am not sure about yahoo briefcase, because I have never used it, so I can't tell you. Maybe someone else on here has experience with that, and can tell you.

    Honestly, though, if I were you, unless you have good reason to register a domain name, I would just skip it and make a website somewhere else. If you really want your own .com, then go for it, but for many personal sites it is not completely necessary.

    My site is hosted off of the BYU CS servers, and I decided to just keep the link directed to students.cs.byu.edu/~dpru/ instead of making a .com domain for it. It all depends on your needs really.
    My Website

    "Circular logic is good because it is."

  15. #15
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by zacs7
    Not sure he would want to run a server. Nor would he want PHP or SQL.
    Without PHP and SQL the only thing you can do is a lousy homepage...
    Quote Originally Posted by DavidP
    Some people don't have large files downloadable from their website. In his case, if he is just playing around with HTML, 30 MB is more than enough.
    Yup. My browser based game took less than 1Mb and my news portal took even less.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How's my new Website
    By asbo60 in forum General Discussions
    Replies: 53
    Last Post: 07-10-2009, 10:10 AM
  2. Interpreter.c
    By moussa in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 05:59 PM
  3. Starting a website?
    By IfYouSaySo in forum Tech Board
    Replies: 8
    Last Post: 03-26-2005, 02:43 AM