<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>DevGrow &#187; introduction</title> <atom:link href="http://devgrow.com/tag/introduction/feed/" rel="self" type="application/rss+xml" /><link>http://devgrow.com</link> <description>Tips on web development, web design and online marketing</description> <lastBuildDate>Sun, 05 Sep 2010 02:37:49 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>The Complete Guide to Creating Your First Website</title><link>http://devgrow.com/complete-guide-to-creating-your-first-website/</link> <comments>http://devgrow.com/complete-guide-to-creating-your-first-website/#comments</comments> <pubDate>Sun, 25 Jul 2010 02:45:15 +0000</pubDate> <dc:creator>Monji</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[beginners]]></category> <category><![CDATA[introduction]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[web development]]></category> <category><![CDATA[websites]]></category><guid isPermaLink="false">http://devgrow.com/?p=1546</guid> <description><![CDATA[So one thing is clear: you want/need your own website.  But how do you go about making one?  Where do you even start?  Whether it's for your business, personal blog or any obscure reason, understanding how the web works and establishing an online presence is crucial in today's high-tech world.<ul><li><a href="http://devgrow.com/perfect-css3-buttons/" rel="bookmark">Creating the Perfect CSS3 Buttons</a></li><li><a href="http://devgrow.com/best-bet-css-practices/" rel="bookmark">Best Bet CSS Practices</a></li><li><a href="http://devgrow.com/simple-php-honey-pot/" rel="bookmark">Quick and Simple PHP Honey Pot Spam Prevention</a></li></ul> ]]></description> <content:encoded><![CDATA[<p class="note">This article is aimed at the completely inexperienced, those who may have always wanted a website but do not yet understand what it takes to make one.</p><p>So one thing is clear: you want/need your own website.  But how do you go about making one?  Where do you even start?  Whether it&#8217;s for your business, personal blog or any obscure reason, understanding how the web works and establishing an online presence is crucial in today&#8217;s high-tech world.<span id="more-1546"></span></p><h2>Understanding the Web and How Websites Work</h2><p>According to Wikipedia, a website can be defined as a &#8220;collection of related web pages, images, videos or other digital assets that are addressed relative to a common Uniform Resource Locator (URL).&#8221;  Simply put, it&#8217;s a collection of internet-accessible files stored somewhere and identified by an URL/address.  Let&#8217;s take a look at some more definitions first:</p><ul><li><strong>HTML</strong> &#8211; HyperText Markup Language, the name of the syntax/code used to create web page files (usually ending in .html)</li><li><strong>Host</strong> &#8211; A host makes your files accessible on the web by storing your files on a server/computer and providing a persistent internet connection</li><li><strong>Web Server</strong> &#8211; The actual machine or piece of hardware where your files are stored (usually by your host)</li><li><strong>IP Address</strong> &#8211; The numerical address of your Web Server; All computers connected to the internet have an IP address, even yours</li><li><strong>Domain Name</strong> &#8211; The actual address of the website, ie www.mydomain.com</li><li><strong>Registrar</strong> &#8211; The company that has permission from <a href="http://www.icann.org/">ICANN</a> to sell domain names, like <a href="http://www.godaddy.com/">GoDaddy</a></li><li><strong>DNS</strong> &#8211; Domain Name Servers, used to connect a domain name to a host/server</li></ul><p>Now that we have a basic understand of the terms involved, let&#8217;s take a look at how they are connected.  A website is a collection of <strong>HTML</strong> files and digital assets (images, scripts, videos, etc.) stored on a <strong>web server</strong> (provided by a <strong>host</strong>) that makes it accessible by anyone via a persistent internet connection.  How do you find that website?  Using a <strong>domain name</strong>, which is the online address of your website.  The domain name is purchased from a domain <strong>registrar</strong> and before it can be used, it must point to the correct <strong>domain name servers</strong> that correctly directs traffic to your web server&#8217;s <strong>IP address</strong>.  It may sound a bit convoluted at first but thinking about it in simpler terms might help to better grasp the concept:<br /> <img src="http://cdn.devgrow.com/wp-content/uploads/2010/07/internet-diagram.gif" alt="" title="Diagram of How Website&#039;s Work" width="600" height="250" class="aligncenter size-full wp-image-1552" /><br /> In the above diagram, the green arrow represents the request you make when you enter a URL into your browser and the blue arrow represents the response sent back.  What&#8217;s important to note is that many hosts offer all of these services, so from one server you can get hosting (web server access) for your files and complete domain name setup.</p><h5>Further Reading:</h5><ol><li><a href="http://en.wikipedia.org/wiki/Website">Wikipedia Article on Websites</a></li><li><a href="http://www.howstuffworks.com/web-page.htm">HowStuffWorks: How Web Pages Work</a></li><li><a href="http://www.quackit.com/how-websites-work/">How Websites Work by Quackit</a></li></ol><h2>Creating Your First Website</h2><p>Now that you have an understanding of how websites work, it&#8217;s time to create your first web page.  The below steps will take you through the entire process, from picking a domain name to uploading your files.</p><h5>1. Picking the Right Host</h5><p><a href="http://mediatemple.net/"><img src="http://cdn.devgrow.com/wp-content/uploads/2010/07/mt.gif" alt="" title="Media Temple" width="100" height="100" class="alignright size-full wp-image-1560" /></a>This can be a bit complicated depending on your needs but for nearly all starters, a simple shared hosting plan is enough to host a basic website.  I suggest <a href="http://mediatemple.net/webhosting/gs/">Media Temple&#8217;s Grid Service</a> to most of my clients and <a href="http://devgrow.com/hostgator">Host Gator</a> to those feeling a little cheaper.  Both providers have been around for a long time and are fairly consistent in their services.</p><h5>2. Getting a Domain Name</h5><p><a href="http://www.godaddy.com/"><img src="http://cdn.devgrow.com/wp-content/uploads/2010/07/godadddy.gif" alt="" title="GoDaddy" width="100" height="100" class="alignright size-full wp-image-1559" /></a>There are many providers that offer domain names for a variety of prices.  In reality, they are all resellers for ICANN and whoever sells the most can usually offer the cheapest prices.  Personally I use <a href="http://www.godaddy.com/">GoDaddy</a> because they are one of the cheapest (use CHRIS3 coupon during checkout for $7.95 domains) but their website feels a bit spammy.  Throughout the entire purchasing process, they&#8217;ll suggest purchasing a million of their other services (including hosting) but I would personally advise against those.</p><h5>3. Configuring Your DNS</h5><p><img src="http://cdn.devgrow.com/wp-content/uploads/2010/07/nameserver.gif" alt="" title="Configure DNS" width="100" height="100" class="alignright size-full wp-image-1561" />When you register for your domain name, you&#8217;re given the option to edit it&#8217;s DNS information.  If you skip this, you can find it (at least in GoDaddy) under Manage Domains by checking the relevant domain name and selecting Set Nameservers from the top menu.  Enter the addresses of the DNS servers your host provided when you signed up with them to let GoDaddy know where to send visitors when they enter your URL.</p><h5>4. Creating a Basic Web Page</h5><p>As I mentioned earlier, HTML provides the backbone for web pages.  In fact, you can right-click on any website and click View Source to see the HTML code that is powering the site.  While it may look daunting at first, HTML is not really that complex and can be learned within a few days with some patience.  On your desktop, create a blank file and call it <code class="codecolorer text geshi"><span class="text">index.html</span></code>, then enter the following HTML into it:</p><div class="codecolorer-container html4strict blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span><br /> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;&lt;<a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;</span>My Website<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/title.html"><span style="color: #000000; font-weight: bold;">title</span></a>&gt;&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/head.html"><span style="color: #000000; font-weight: bold;">head</span></a>&gt;</span><br /> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br /> <span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span>Hello World<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span><br /> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/body.html"><span style="color: #000000; font-weight: bold;">body</span></a>&gt;</span><br /> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><a href="http://december.com/html/4/element/html.html"><span style="color: #000000; font-weight: bold;">html</span></a>&gt;</span></div></td></tr></tbody></table></div><p>The above code will produce this, a simple white page with the words &#8216;Hello Word&#8217; written on it.  HTML is all about tags that must be opened and closed.  Every page should have a <code class="codecolorer html4strict geshi"><span class="html4strict">head</span></code> section with a proper <code class="codecolorer html4strict geshi"><span class="html4strict">title</span></code>, this is the text that is visible in the title bar of your browser.  The <code class="codecolorer html4strict geshi"><span class="html4strict">body</span></code> section is where any content you want shown on the website itself should go &#8211; in this example we have a simple paragraph (<code class="codecolorer html4strict geshi"><span class="html4strict"><span style="color: #009900;">&lt;<a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">p</span></a>&gt;</span></span></code>) with that contains the &#8216;Hello World&#8217; statement.  Also note that each tag must be closed properly and in the correct order.</p><h5>5. Upload and Sit Back</h5><p><img src="http://cdn.devgrow.com/wp-content/uploads/2010/07/upload.gif" alt="" title="Upload" width="100" height="100" class="alignright size-full wp-image-1562" />Now that you have your first web page ready, you need to get it online by uploading the file to your web server.  This is done using an FTP, or File Transfer Protocol, program like <a href="http://filezilla-project.org/">FileZilla</a> (OS-independent) or <a href="http://winscp.net/eng/index.php">WinSCP</a> (Windows only).  When you signed up for your host, you should have received an e-mail that contains an FTP address, usually <em>ftp.mydomain.com</em>, and some login credentials.  Start the FTP program, enter your credentials and transfer the <code class="codecolorer text geshi"><span class="text">index.html</span></code> file from your computer to the <em>public_html</em> folder (or sometimes www) on your web server.</p><h5>Congratulations! Your Website is Now Online</h5><p>If you have properly configured your host, purchased a domain name and set your DNS information, entering your URL into a browser should load up your Hello World page.</p><h2>Make it Better With Open Source Software</h2><p>The example above is too simple for any practical use and chances are, you want something that looks nice and has more functionality.  While I would definitely recommend learning as much about building websites as you can first, there are a few ways to get a nice website up very quickly and with limited knowledge.  Open source software makes this possible, there are literally hundreds of blogging platforms and content management systems that you can install to have a very complete website running in minutes.</p><p>Most of these scripts require the minimum of PHP and MySQL, both of are included in 99% of shared hosting services.  Create a database, upload the script and point your browser to the install file, the rest is taken care of automatically.  The best part is that open source software is completely free to use, so definitely check it out.</p><h5>A Few Open Source Options:</h5><ol><li><a href="http://wordpress.org/">WordPress Blogging Software</a></li><li><a href="http://www.phpbb.com/">phpBB Forum Software</a></li><li><a href="http://www.madebyfrog.com/">FrogCMS Content Management System</a></li></ol><h2>Conclusion</h2><p>This article is meant to be a very basic introduction into the very big world of web development.  It&#8217;s meant for my friends who have always expressed interest in creating a website but don&#8217;t have the time to invest in learning to make one.  Feedback is appreciated and comments are always welcome!</p><p>Also remember to <a href="http://feeds.feedburner.com/devgrow">subscribe to the RSS Feed</a> and follow <a href="http://twitter.com/ThinkDevGrow">@ThinkDevGrow</a> on Twitter!</p> <img src="http://devgrow.com/?ak_action=api_record_view&id=1546&type=feed" alt="" /><ul><li><a href="http://devgrow.com/perfect-css3-buttons/" rel="bookmark">Creating the Perfect CSS3 Buttons</a></li><li><a href="http://devgrow.com/best-bet-css-practices/" rel="bookmark">Best Bet CSS Practices</a></li><li><a href="http://devgrow.com/simple-php-honey-pot/" rel="bookmark">Quick and Simple PHP Honey Pot Spam Prevention</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://devgrow.com/complete-guide-to-creating-your-first-website/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching using disk
Object Caching 514/555 objects using disk
Content Delivery Network via media1.devgrow.com

Served from: devgrow.com @ 2010-09-06 07:10:43 -->