M
M
Mikhail Pakhmutov2016-02-13 23:15:08
local server
Mikhail Pakhmutov, 2016-02-13 23:15:08

How to add a dashed domain to a host file?

Hello. I'm trying to create a virtual domain, but if there is a dash character in the domain, then it is not processed.
Those. doesn't work like that

127.0.0.1 my-domain.com

And so yes
127.0.0.1 mydomain.com

How to solve this issue?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2016-02-13
@ARCHANG3L

Dash is not allowed
- minus can be used

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question