mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 22:41:13 +00:00
Added tags
This commit is contained in:
parent
bca1f711a5
commit
aa4280542b
50 changed files with 67 additions and 48 deletions
|
@ -2,7 +2,7 @@
|
|||
title: "Temporarily Resolving Hostnames"
|
||||
date: 2020-01-04T21:26:16-05:00
|
||||
draft: false
|
||||
images: []
|
||||
tags: [ "linux", "network" ]
|
||||
---
|
||||
|
||||
Let's say that we're testing a webserver where the pages served depended on a domain that you don't own. The most common way I know to test this is to modify your `/etc/hosts` file to contain the hostname and ip address you want to map it to.
|
||||
|
@ -21,4 +21,4 @@ There are also browser extensions that you can use such as [LiveHosts](https://g
|
|||
|
||||
If this is going to be a publicly facing service, then you should just set the records of your domain name to point to the server.
|
||||
|
||||
If it's a non-public routable service, then perhaps try looking into setting up your own private [dns server](https://brandonrozek.com/blog/coredns/).
|
||||
If it's a non-public routable service, then perhaps try looking into setting up your own private [dns server](https://brandonrozek.com/blog/coredns/).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue