Your Mac comes equipped with the same Apache web waiter software that made its repute by serving up commercial websites. Anyone using OS X Lion ( 10.7 ) and earlier can set up web sharing on their Mac by using an easy-to-use interface to access the Apache web server .

This apparatus on OS X made it easy for anyone to serve up a web site with a serial of dim-witted shiner clicks. The basic web sharing servicing remained partially of OS X until the release of OS X Mountain Lion, which removed the simplified drug user interface but left the Apache web waiter installed .

information in this article refers to Mac web sharing using OS X Lion ( 10.7 ) and earlier. Apple recommends purchasing OS X Server or macOS Server to return web sharing capabilities to users of OS X Mountain Lion ( 10.8 ) and later.

personal Web Sharing in OS X Lion and Earlier

Your Mac supports two locations for serving up a web site. The first is for personal websites created by each drug user on your Mac. This separation offers an easy room for every member of a family to have a web site .

Find personal websites in the user ‘s dwelling folder in the Sites directory, located at ~/username/ Sites .

Do n’t go looking for the Sites directory precisely however. OS X does n’t bother to create the Sites directory until it ‘s needed .

Computer Website in OS X Lion and Earlier

The other placement for serving up a web site goes by the mention “ computer web site, ” but this is a sting of a misnomer. The term refers to the main Apache documents booklet, which contains the datum for websites that the web server serves up .

The Apache documents folder is a system-level folder, which is restricted to administrators by default. The Apache documents booklet is located at /Library/WebServer .

The documents folder ‘s restrict access is the cause why OS adam has personal Sites folders for each user. Individual Sites folders allow users to create, do, and control their own sites without interfering with anyone else ‘s .

If you intend to create a company web site, you may want to use the calculator web site localization, as it prevents others from making changes to the site well .

Creating Web Pages in OS X Lion and Earlier

Use your favorite HTML editor or one of the popular WYSIWYG network page editors to create your web site and store it in your exploiter Sites directory or the Apache Documents directory. The Apache web server running on your Mac is configured to serve up the file in the Sites or Documents directory with the name index.html.

enable Web Sharing

To enable vane sharing in OS X Lion and earlier :

  1. Select System Preferences > Sharing .

  2. place a check sign in the Web Sharing box to turn on world wide web sharing .
    OS X 10.4 Tiger calls this box Personal Web Sharing .
  3. In the Sharing window, click the Create Personal Sites booklet push button. If the Sites folder is already present from earlier use of the web sharing preference acid, the release reads Open Personal Website Folder .

  4. If you prefer to use the Apache documents folder to serve up a web site, click the Open Computer Website Folder clitoris .

Web sharing options in OS X

Accessing Your web site

The Apache vane server starts up and serves at least two websites, one for the calculator and one for each user on the computer. To access any of these websites, open a browser and enter one of the play along :

  • Use the format http://your.computer.address/ for the computer’s web page. To find your computer’s address, bring up the Sharing window and highlight the Web Sharing name in the list. Your computer’s address displays to the right.
  • Use the format http://your.computer.address/~yourusername for a personal web page. To access it, enter the computer’s address from the previous step, followed by the ~ (tilde) character and your username with no spaces in the username or between the tilde and your username.

If you ‘re not certain what your username is, bring up the Sharing window you accessed earlier and highlight the Web Sharing name in the tilt. Your personal web site address displays to the right field .

OS X Server or macOS Server for Web Sharing

Newer Macs transport with an up-to-date interpretation of the Apache vane server that ‘s fix for anyone to use—just not with a simplified user interface. however, a move to OS X Server ( or macOS Server depending on your operating system ) returns world wide web sharing capabilities to the Mac .

OS Server for OS X Mountain Lion and late offers a full-bodied collection of server features, including mail server, web waiter, file sharing, Calendar and Contacts server, Wiki server, and more .

generator : https://themedipia.com
Category : Website hosting

Leave a Reply

Your email address will not be published.