

The basic mapping mechanism which uses the the file /etc/hosts.Įnable your host to be viewed on the MAMP Viewer.Īllow other computers on your local network to access your web site. This will determine how your system will map host names to ip addresses. An icon next to the server name in the server list will also indicate which web server you chose. View your php configuration by pressing the ‘i’ button to the right of the version name.ĭetermines, if this virtual host is accessible with the Dynamic DNS service from the internet.ĭetermine which web server will be used with your host. To this version (it is set to always use the standard version). If you set the PHP version in the PHP section to 5.4.25, MAMP PRO will adapt the PHP version of oneHost Set to PHP version Default (5.5.9), anotherHost set to 5.5.9 and yetAnotherHost set to 5.3.28. Sounds complicated? Let’s take a look at an example: The default version is set to 5.5.9.

Use a fixed setting to tell MAMP PRO not to alter the PHP version. If you select the Standard PHP version MAMP PRO will automatically adapt this setting if you chooseĪ new standard version in the PHP tab. This can only be set when Individual PHP versionįor every host (CGI) is set in the PHP section of MAMP PRO. In most cases the preset value does not need to be changed.ĭetermine which version of PHP a host will use.

If you want to choose which of the IP addresses should be associated with a host, then select it from the pop up menu.ĭetermine the port with which the virtual host is accessible. If this field is left empty or contains an * the web server will use one of the computer’s IP addresses to access this host. If the servers are running you can use the button to open a host in your web browser. A description of these can be found here. The hosts table also contains cloud information and functionality. This serves as a backup in case you make server changes and later discover your site is no longer accessible. Clicking on the icon will highlight several functions that will allow you to save your host settings enabling you to re- introduce them at a later date. Shortcuts to several often used functions are accessible by right clicking on the highlighted host.Īt the bottom of the hosts table there are several functions. The fifth column will display an icon of the Extra installed if an Extra is installed. The fourth column contains the php version that is used with host. If left unchecked, the host will not be active and cannot be viewed in a web browser. The third column indicates whether the host is active. The second column indicates which web server will host the file. In the default order, the first column contains your host name. You can drag the columns to change their default order. The hosts table contains several columns. Use this option to copy the contents of your template folder to your new document root folder. You may use the same template, js, and css files/folders in every site you develop. You can optionally add the contents of a templates folder. Most content management systems require a database, and you can conveniently add one here.Ĭopy the contents of a template folder to the document root You can optionally create a MySQL database.

This can be solved by changing your server launch users. If the folder you wish to use as a document root is greyed out, you may have a problem with permissions. MAMP PRO will automatically add an index.php file and a MAMP image to this location when your web server is restarted if the folder is empty. The document root is also known as the web root folder. The location of the documents (HTML/PHP files etc.) of a virtual host is called a document root. Names are not case-sensitive (upper and lower-case letters are not distinguished.) The host name may only contain letters and/or numbers, as well as dashes (“-“) īut it may not begin or end with a “-“ character. The server name and port number in combination must be unique within MAMP PRO.
#Mamp pro dynamic dns plus#
To create a new host press the Plus button at the bottom left of the screen. To make a host both ssl and non-ssl you must create the host with the same name twice. The unreversed name may conflict with an outside domain name. The name of a host (server name) must be unique, often it’s practical to use a reverse domain naming scheme to easily identify them (e.g. Every host can have it’s own directory to store html, php files, and images. You can add an unlimited number of hosts allowing you to create one host per project. The virtual host localhost is created by default and cannot be deleted. MAMP PRO uses virtual hosts to allow your web servers to serve different websites.
