Start webserver under Mac

Source: Internet
Author: User
ext.: http://blog.csdn.net/glt3953/article/details/27541391 1. Start the Apache service that comes with Mac OS

sudo apachectl start

2.Finder Access Path/library/webserver/documents

Create a new webserver path name, for example: Huoban

Put the relevant HTML, CSS, JS files into the Huoban folder

3. Find your own IP address, enter the relevant domain name, you can access

Example: http://10.0.6.87/huoban/

NOTE: The default HTML file name is index, so you no longer need to type the HTML filename

Start webserver under Mac

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.