[GH-ISSUE #34] Windows maximum aliases per line #18

Closed
opened 2026-03-02 05:09:13 +03:00 by kerem · 3 comments
Owner

Originally created by @hegemanjr on GitHub (Mar 16, 2022).
Original GitHub issue: https://github.com/goodhosts/cli/issues/34

As seen here https://superuser.com/questions/932112/is-there-a-maximum-number-of-hostname-aliases-per-line-in-a-windows-hosts-file, there is a maximum of nine aliases per line in the hosts file on Windows.

I am often beyond that maximum of nine aliases in the VVV environments I use, meaning some of my sites don't work without manually splitting the aliases into multiple lines.

Assuming that I'm not the only one running into this, I would like to request a feature that automatically splits the aliases into multiple lines if there are more than nine.

Thanks!

Originally created by @hegemanjr on GitHub (Mar 16, 2022). Original GitHub issue: https://github.com/goodhosts/cli/issues/34 As seen here https://superuser.com/questions/932112/is-there-a-maximum-number-of-hostname-aliases-per-line-in-a-windows-hosts-file, there is a maximum of nine aliases per line in the hosts file on Windows. I am often beyond that maximum of nine aliases in the VVV environments I use, meaning some of my sites don't work without manually splitting the aliases into multiple lines. Assuming that I'm not the only one running into this, I would like to request a feature that automatically splits the aliases into multiple lines if there are more than nine. Thanks!
kerem closed this issue 2026-03-02 05:09:13 +03:00
Author
Owner

@luthermonson commented on GitHub (Mar 16, 2022):

https://github.com/goodhosts/cli/issues/33

<!-- gh-comment-id:1069410797 --> @luthermonson commented on GitHub (Mar 16, 2022): https://github.com/goodhosts/cli/issues/33
Author
Owner

@luthermonson commented on GitHub (Mar 16, 2022):

read through that and confirm. i was under the impression this was configurable and solved but i could be wrong

<!-- gh-comment-id:1069411690 --> @luthermonson commented on GitHub (Mar 16, 2022): read through that and confirm. i was under the impression this was configurable and solved but i could be wrong
Author
Owner

@luthermonson commented on GitHub (Sep 30, 2023):

@hegemanjr pretty sure this is solved, reopen if you disagree

<!-- gh-comment-id:1741827303 --> @luthermonson commented on GitHub (Sep 30, 2023): @hegemanjr pretty sure this is solved, reopen if you disagree
Sign in to join this conversation.
No labels
bug
bug
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cli#18
No description provided.