Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd like to set up name-based virtual hosting in Apache, but I don't have DNS name (local private network). Thus I want to get something like that: - First virtual host - wiki. - Second virtual host - redmine.

As I suggest I can be achievable by using ServerName option in section of both vhosts. But in Apache documentation has no mention that I can use for FQDN IP-addr. Is it possible? How can I reach my wishes? P.S.: I want to share my sites on the same subnet only. Thus any who can ping me can enter http://my_ip/wiki and get wiki, http://my_ip/redmine and get redmine.

share|improve this question

closed as not a real question by mdpc, Scott Pack, HopelessN00b, John Gardeniers, Ward Dec 1 '12 at 7:34

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer 1

Either use hosts files for name resolution, or look at mod_userdir (with wiki and redmine as your "users").

share|improve this answer
But in this case I need to change every hosts files of any computer in my subnet (private corporate network). –  malvikus Nov 30 '12 at 9:56
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.