![]() I think that will require something like MAMP Pro or another 'desktop computer as server' software. otherwise some tricky solution would be needed to receive and share the airport connection.Īs for accessing this whole setup remotely. If you still needed that, then it would be best if you could hardwire with ethernet. In my case I was only running the computers locally, without any outside internet connection. And I believe it also worked to FTP to the same address for access to the files remotely where I could do live editing by telling my FTP program to 'edit in Textmate'. Once I had done that, after connecting to that airport connection I could connect to the page for viewing with 'mycomputer.local:8080' <-or whatever port you are using for MAMP. You'll give the airport channel a name, good idea to give it encryption, and get it started. You can tell the sharing setup that you will be sharing an ethernet connection, or anything, so long as it's not airport, so that you can then share this connection over airport. What I did in the end was choose one computer to run MAMP, then turn on that computers 'internet sharing' under the sharing system preference. Hmm it's been a few months since I had to run a similar dilema, when I was needing three computers to talk to a single instance of MAMP. so hopefully someone can kindly provide step-by-step instructions on the set up before my 14 day trial expires. if i can set up mamp pro to do the above, i'll buy the serial number. To edit your hosts file in vim, open your preferred terminal and enter sudo vim /etc/hosts. It's protected, so you'll likely have to use sudo to open it and enter your Mac password. The /etc/hosts file on your local machine maps custom domain names to the IP addresses. Right now, i have multiple websites in development using mamp and can only access it using imac. Here's how I set up MAMP with virtual hosts on my Mac: 1. can this db file be saved outside of application/mamp/db? for example save it in my external network hdd under a "db" folder?īasically, i want to achieve the below with mamp pro:ġ) access websites in development using either my macbook or imac.Ģ) make these websites accessible on the internet or locally Using mamp (not mamp pro), i can access my site at localhost:8888/abc from my imac but i can't access this site with my macbook because the db is saved in my imac. ![]() I have a site, say, abc.com and the files are stored in an external network hdd (buffalo linkstation) under a folder called "abc" (mamp pro doesn't seem to let me select a folder from external hdd as the disk location under host tab). could someone kindly show me how to do this? i also want to be able to work on the site even when i am not at home (accessing the site via the internet using my macbook). i want to create a virtual host where i can access a site i am developing from two computers (imac and macbook). anyway, i have downloaded the 14 day trial version but after reading the mamp forum and user manual i still can't do it. i posted a thread on and haven't received any replies yet and read in a thread that macrumors forum is more active. It really should be as simple as you were expecting.Hi i am a total newbie to mamp pro. htdocs/index.php rather than htdocs/mylocalsite/index.php)." from your original post. ![]() I'm not sure what you're trying to do / communicate with this "To start with, I got the MAMP logo/welcome page but from root level of my htdocs folder (i.e. Note you will find that Windows starts using etc/hosts entries as soon as you save them so there is no need to reboot the VM after making changes there. My directory structures on my Mac all match whatever is on the hosting company's server (typically public_html) for a given site. ![]() I don't have to reference any subdirectories in my URL when accessing the root of a MAMP Pro site. In order to complete the other steps you should stop your servers now. In order to manage your servers, locate a folder named MAMP in your Applications folder and double-click MAMP.app. How do you have you're hosts set up in MAMP Pro? Mine are all set to the directory that contains either index.html or index.php as appropriate. At this point, you should have a working installation of Apache with MySQL. The easiest way to view /etc/hosts is with the commandĪll machines (your Mac and Virtual Machine included) use 127.0.0.1 as the IP address for localhost, think it is also called loopback.
0 Comments
Leave a Reply. |