Thank you for the push in the right direction..
But for all Mac users having trouble how to make a ‘fake domein’ or better said: DELETE the 8888 port number in localhost:8888.
Here it goes.
First you don’t need MAMP Pro! just MAMP.
After you have installed MAMP in your Applications folder you first hit the black MAMP widget icon this will ask you if you wanna install the MAMP server Widget on your Dashboard. Not needed but i think it can be very helpful for starting the servers when you have restarted your Mac.
Now the real setting-install will get going.
(1) Launch the MAMP.app by clicking it twice. (not to difficult)
(2) Go to the settings or so called preference page.
(3) Hit the menu-TAB called Ports and click on the ‘Set to default Apach and MySQL ports’ button. This will change Apache Port to: 80 and MySQL Port to: 3306
(4) Hit the menu-TAB Apache and push the select button, now pick a place where you would like to store all your WordPress sites. For me i made a folder called offline in this directory. /Users/iMac/offline <– iMac is your computer name, i called my computer just iMac, for everybody else this could be your personal name or something like that.. It’s the name next to the house icon in the Finder. ??
(5) after you have clicked OK you will see you have to enter your Password of MAC OSX every time you start or stop the server. This is because we are using a Port 80. (it’s not really important)
(6) Now MAMP is closed – but make sure the servers are running you can check this at your Dashboard, looking at your Widget you have installed before. If it’s not running make sure it is.. (Start Servers)
(7) Hit CMD first than Spacebar while holding CMD to launch SpotLight at the right-top corner of your screen and type: Terminal and hit Enter-/Return. This will launch the Terminal.app and a freaky ICT window pops-up.. I bet this is a bit scary for a regular Mac user but it’s not difficult at all.
(8) copy-/past the following text-/code:
sudo pico /etc/hosts
And hit Enter-/Return, now on the next line it will ask to type your Password just do it and hit Enter-/Return again.
On a regular Mac you should see something like this (i did):
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
Because your mouse-/cursor will not work in the Terminal you have to work from your keyboard. Just move down with the down-arrow-key to the last line of code and type this code:
127.0.0.1 localhost.sites
It should look something like this:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 localhost.sites
After you have done this we need to save those changes so we also have to use the keyboard for that again.
Hit: CONTROL + O to Save and hit Enter-/Return after that to make 100% sure you saved it.
After that hit CONTROL + X to close this window, now you see you are back at the white starting Terminal page.
Now you can close the Terminal.app by pushing CMD + Q
This is it..
The only thing you have to do now is go to that new created folder (step 4) called sites and make a new folder inside it called wordpress or whatever you website title will be.
The domain to visit your site locally will now be.
https://localhost.sites/ <– this will just be in the sites folder.
https://localhost.sites/wordpress/ <– this will visit your new website.
https://localhost.sites/apple-blog/ <– could be a folder to your Apple-blog
I think you know what to do now to make a single WordPress site go Multi..
https://codex.www.ads-software.com/Create_A_Network
Have fun with it, i hope this can help somebody.
Ps; Just to make a note..
I think, but i’m not 100% sure you can NOT make Sub-domain on a local machine with localhost.sites/wordpress/ as your WordPress site.
You have to pick Sub-directories — like localhost.sites/wordpress/site1 and localhost.sites/wordpress/site2