Page 243 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 243

Unit 12: Server Role: Linux as Web Server




          3.   Configure your Web Hosing Account: In your control panel you will see an option call   notes
               “Manage Domains.” Select this option and at the top you will see an “Add New Domain”
               link. This is where you type in the domain name you registered at GoDaddy.com. The
               other options on this page can just be left as they are for most basic web sites. You will
               be  asked  the  name  of  the  folder  you  want  to  store  you  content  in  on  the  web  server,
               you  should  just  name  it  something  that  makes  sense  related  to  your  domain  name.
               Now that your hosting account is set up, you need to make sure that your domain registrar
               knows who is hosting your site. You do this by going back into your registrar account and
               specifying a name server. Click on the “Nameserver” icon and enter at least to nameservers
               on the page. Dreamhost’s nameservers are ns1.dreamhost.com and ns2.dreamhost.com.
               (Note: it may take a day or two for your new domain name to work throughout the Internet.
               This is called domain name propagation)
          4.   Make a Home Page and send it to your Web Host: At this point you need to create your
               home page. There are many easy ways to make this page, but the key is to name it index.
               htm  .  This  is  the  default  home  page  name  that  most  web  hosts  use.  So  if  the  domain
               name you set up is www.yoursite.com - then your index.htm page will show up at www.
               yoursite.com . If you name your file mypage.htm, then it will appear at www.yoursite.
               com/mypage.htm. So using the name index.htm will not require your site visitors to type
               in anything past the .com part of your domain name.




              Task    “Once you create this account they will e-mail the web address to your web
             hosting account control panel.” Comment



             


              Caselet   website using pHp
             I
               am using a PC with XP sp2 installed on it, and with 128 MB RAM. I am learning Php
               (server scripting language). What must Iinstall in order to execute scripts on my PC?


             ravi teJa
             To build a Web site using PHP, basically an HTTP server, PHP and Database are required.
             Some HTTP servers available are Apache and Microsoft IIS. While using PHP, most people
             choose apache for HTTP server and MySQL for database because all are free or open source
             software. You can install these components (PHP, Apache, MySql ) either individually or a
             third-party component, say, EasyPHP, that integrates PHP, Apache and MySQL.
             The integrated packages, such as EasyPHP, LAMP, etc, are means to get everything up and
             running in one step.
             If  you  would  like  to  install  and  use  as  individual  packages,  please  follow  these
             steps:Download the apache server from the following apache URL: http://httpd.apache.
             org/download.cgi Win32 Source: httpd-2.2.6-win32-srcr2. zip
             To  download  PHP  setup  binaries,  please  look  up  the  URL:  http://www.php.net/
             downloads.php.
             The following are Windows binaries required for the PHP 5.2.4 version. PHP 5.2.4 zip
             package  [9,702Kb]  PHP  5.2.4  installer  [22,002Kb]  PECL  5.2.4  Win32  binaries  [4,363Kb]
                                                                                Contd...



                                           LoveLy professionaL university                                   237
   238   239   240   241   242   243   244   245   246   247   248