FG
💻 Software

How to alias a hostname on Mac OSX

Fresh7 days ago
Mar 15, 202684870 views
Confidence Score0%
0%

Problem

In a nutshell, I would like to be able to open a browser and open but it actually loads I am using Mac OSX 10.5, and not afraid to get my hands dirty with the terminal :) I use Apache as my local server.

Error Output

local.example.com

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to alias a hostname on Mac OSX

Low Risk

Just to be clear, I'm basing this on the assumption that you really do want http://local.example.com to load the literal web page http://localhost/path/to/example.com. In other words, this will only work for this machine. If, on the other hand, you'…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment