Post Pic

How to Make your Own Mac Server

No matter how much time you spend surfing the web, you will never truly be a web ‘master (pun intended)’ until you create and develop a website.  Below is a simple to follow tutorial that will put you on the path to creating your first web page and will allow you to join the growing ranks of web developers.

For a long time, hosting a server, especially and HTTP one, was a very difficult and technical task.  Now, thanks to MAC OS X, hosting is actually easy.   The OS actually includes a ‘one-click’ option that creates a serer for you with… you guessed it, just one click, but this article delves a little bit deeper into the nuances of web development and will show you how to create an advanced server that can manage server-side languages including PHP.

This task isn’t for the faint of heart and some technical knowledge is required.

Ingredients List:

  1. MAMP (its free)
  2. DynDNS account (its free)
  3. A home network with admin privileges so you can forward ports.
  4. A Mac.  You want to use a Mac that will be on all the time.  Remember that anytime you shut down so will your site, so a laptop makes a poor choice here.
  5. A CMS like WordPress (its free) or Drupal (its free) if you want.

Steps to Creating your Server:

Install your MAMP – MAMP is an open-source platform for Mac, Apache, MySQL and PHP that allows you to host a website on your Mac.  Download from the disc image and open it.  Drag and drop the MAMP folder right into your Applications folder in order to install it.  Browse to locate the /Applications/MAMP folder.  This will end up being your ‘control center.”  As you create websites, they will be saved here.  Any configuration you do will also be placed here.

Configure your MAMP – Open the MAMP.app file that is located in your /Applications/MAMP folder.  Once you do this, the HTTP server will start.  Next, click on the preferences tab.  Once here, you must deselect “Stop Servers when quitting MAMP.”  You must also deselect “Check for MAMP PRO when starting MAMP.”  If you do these two steps, you will not have to keep MAMP open all of the time and the servers will stay on.  Next, click on the ‘Ports” tab.  Once there, select “Set to default Apache and MySQL ports.  These are standard settings.  It’s a good idea to use them because if you don’t, for example you leave it at port888; once you are finished your URL will become www.levoltz.com:888.  This is cumbersome and annoying.

Set-up to Share – Under the “System Preferences” tab, click on the sharing button.  Next, select File sharing, but be sure to also check on the Options button.  You will want to confirm that the “Share files and folders using FTP” is selected.  Whenever you are editing a website remotely, FTP is the standard.  You can use tools like Coda or Dreamweaver to edit and they both use FTP (or the more secure SFTP).  Select “done.”  Next, you need to deselect Web Sharing.  If you leave it selected, the server Apache that is installed on your Mac when you purchase will cause conflicts with the one you just installed.  Last, check that the box for remote login is selected.  This is important because it is the easiest way to control your computer and allow for remote restarts of the server.

Related posts:

  1. Private server or Shared Server Hosting?
  2. How to lock a folder without a Software.
  3. [How-to]Enabling And Disabling The USB Ports Of Your Computer
  4. [XP Hack]Colored Window Folders In Just One Click
  5. [Macbook]How to Force Restart your Mac Safely
Buy website theme @ theme forest

Popular Posts


Leave Your Response

* Name, Email, Comment are Required
WooThemes - WordPress themes for everyone

Bluehost - Levoltz hosting

Submit News





Captcha
To prevent spam, please type the text (all uppercase) from this image in the textbox below.

Community News

  • 6 of the Best Android Mobile DevicesFebruary 7, 2010

    Android is the name given to a mobile operating system using a customised version of the Linux kernel. It was first released in late 2008. The platform enables developers to write code in the Java …

  • 15 Valentine’s Day Photoshop TutorialsFebruary 5, 2010

    Here is a roundup of 15 Photoshop tutorials to draw inspiration from, when designing your own pretty greeting card or wallpaper for your loved one.

  • 42 Striking Examples Of Snowboard DesignsFebruary 5, 2010

    Since its Winter season, i decided to make a corresponding post. Today i bring you a showcase of snowboard designs. Snowboard design has become very popular. Almost every snowboarding company, now …

  • MoneyBook App – GiveAwayFebruary 2, 2010

    The gorgeous Guy’s from Noidentity we’re so nice and gave us 4 Free MoneyBook Apps for you to win! The simple and elegant way to track and manage your finances. Your budget at a glance and your…

  • Free Download Winter Theme for Nokia N-81February 1, 2010

    Snow falling… so soft and cold, it’s winter time. Put them as your theme, here is Winter theme for Nokia N81. Download Winter theme now and install to your Nokia N81 phone. be soft.. be cool.

Category Based Feeds

  • Blog XML Feed (92)
  • Downloads XML Feed (92)
  • Events XML Feed (63)
  • Extras XML Feed (136)
  • Gadgets XML Feed (53)
  • Graphics XML Feed (33)
  • How-To XML Feed (214)