![]() In my case, I will install my WordPress at /Users/thoriq/Sites/wordpress.ĭocumentRoot "/Users/thoriq/Sites/wordpress"Īfterwards, Restart the server. In the nf file, add the following line to specify the directory where the hostnames, which we have just added, should refer to it. Open -a TextEdit /Applications/MAMP/conf/apache/nf To do so, we need to edit the Apache HTTP Configuration, which is located in Applications/MAMP/conf/apache/nf.įor your convenient run the following command through the Terminal to open it in TextEdit. Next, we will direct the hostname to the directories where we will install the WordPress. Press Control + O and hit Enter to apply the changes within the hosts file. However, since we are going to use sub-domain for hosting the sites, we need to add one line to specify a sub-domain, like so. Change the name, as you want it.įurthermore, If we host the sites using sub-directories adding the above line will be sufficient. ![]() This is only an example, you can name the hostname to be something like domain.loc or. In this, I name it as domain.local, as follows. Then, add a hostname along with the IP Address. So, let’s open the Terminal and run the following command to open the hosts file. Recommended Reading: Domain Names & Hostnames ![]() If it is not available within the file, the OS will then look-up the DNS. When we try accessing a hostname (or a domain name) through the browser, the Operating System (OS) will first look-up the hosts file for the corresponding name and its IP address. The hosts file is a plain text file to map the hostnames or domain names to their associated IP Address. ![]() Step 1.1: Adding a Hostnameįrist, we will add a hostname for local development in the hosts file. We will first setup Virtual Host so that we can host the website with a custom hostname or domain name, instead of using the default To do so, we will need to edit two files, the hosts file and the apache config file, nf. Otherwise, follow this instruction before proceeding this post. Make sure you have installed MAMP in your OSX. In this post, we will show you how to develop WordPress Multisite with MAMP, before bringing it online. So, if you are using WordPress 3.0 (and above), you are able to enable this feature and start creating multiple blogs. Then, the project has been merged since WordPress 3.0. Originally, this WordPress Multisite was developed separately from the main WordPress. Some reasons that makes WordPress that immensely popular are it is easy to use, it is in very active development, it has great community support, many plugins with great functionality, beautiful themes, and one particular feature that makes it a powerful CMS is the ability to create multiple websites with one WordPress installation. In addition, Google Trends shows the increasing popularity of WordPress cross over the other CMS, such as Joomla and Drupal. I have tried looking for other similar posts but haven't found anything that works.According to, WordPress is the most popular publishing platform with more than 8 million website using it as their Content Management System (CMS). It seems like there is an issue with the address but I don't know what else to try. The browser shows me the following error each time: I have tried to access Wordpress from the following urls: When I start the MAMP server, the MAMP webstart page opens at the following address: I've unstalled and unzipped Wordpress into a folder inside MAMP > myfolder and created a database called myfolder. The Document root is configured to Users > myuser > Documents > MAMP Here is a screenshot of my port settings: I am trying to run a local installation of Wordpress on my Mac via MAMP.Īs far as I can tell, I've followed them perfectly (I have in fact successfully done this in the past with another project).
0 Comments
Leave a Reply. |