• Hi!

    I tried almost everything but.. does′t work. I need your help please.

    I found on internet that is posible use the local installation with the final domine .

    This is will be awesome , because I know and i bought my domine and I would like develop the web site in local directly with it in oder to don’t need change when i upload in the internet hosting.

    So the question is :

    Please some one can explain to me how to configure the localhost in order to use https://www.mydomine.com . working offline.

    thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey,

    The easiest way is to install GasMask:
    https://www.macupdate.com/app/mac/29949/gas-mask

    This will allow you to edit your hosts file. There will be a few lines in there already so add another like so:

    127.0.0.1 mydomine.com

    Save it, then enter your domain in the browser and your site should appear.

    Thread Starter ericgonzalezoboe

    (@ericgonzalezoboe)

    Hello!
    Thank you very very much for this soft !

    i was all the day working very hard and nothing work even the MAMP stopped to work because I did something wrong . I installed again OS X so now all is ok . Localhost:8888 is working perfect but GasMAsk is not working .

    https://dl.dropboxusercontent.com/u/105810472/Captura%20de%20pantalla%202015-02-04%20a%20las%2019.48.27.png

    I did what you say but doest work .

    any sugesstion?

    thank you !

    The entries for localhost, copy one of them and change localhost to eg-reeds.com.

    ::1 eg-reeds.com

    If that doesn’t work, try the last one.

    You may need to restart your browser and/or MAMP after…

    Thread Starter ericgonzalezoboe

    (@ericgonzalezoboe)

    Dear Kayless ,

    thank you for your help .

    I tried all, but doest work. maybe i am doing not the right

    i tried :

    127.0.0.1 localhost to eg-reeds.com
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost

    ____

    127.0.0.1 eg-reeds.com
    255.255.255.255 broadcasthost
    ::1 eg-reeds.com
    fe80::1%lo0 localhost

    _________

    localhost to eg-reeds.com
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost

    _____

    127.0.0.1 localhost to eg-reeds.com
    255.255.255.255 broadcasthost
    ::1 eg-reeds.com
    fe80::1%lo0 localhost

    something to do ? THANK YOU !!!

    regards

    Brian

    (@briansteeleca)

    This article explains how to use a local domain name with Mamp:

    Quick and Dirty Local Domain Names for MAMP

    In your case, you want to use your final “production” domain locally, so rather than using .dev as in his example, you can use .com (or whatever top-level domain you’re using).

    Most developers use .dev or .local for the localhost, and then update the domain once it’s on their production sever. It can be a bit confusing to use the same domain for local development and production – once the domain is in your hosts file, you won’t be able to access your production site, and if you forget that it’s in there, you’ll be accessing your localhost rather than your production site.

    If you choose to use your production domain locally, I’d recommend using a browser extension like ShowIP so you can see which version you’re looking at.

    If you choose to use .dev or .local, you can easily update the domain name on your production server with this script:

    DATABASE SEARCH AND REPLACE SCRIPT IN PHP

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Localhost ( in mac with MAMP) but using URL offline’ is closed to new replies.