Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With OS X Server Websites, how can I make and to go directly to http://​

I have wikis setup correctly. I want visitors that come to and to see http://​ directly.

How can I do that?

share|improve this question
up vote 1 down vote accepted

In the server app. Go to the websites menu and under the "Server Website" click the pen icon to edit. The add a redirect of "http://​" and/or "http://​" to "http://​"


share|improve this answer

You can do this either on the server side or on the DNS side.

On the server you can redirect from your base index.html web page to the wiki.

On the DNS side you can probably set this up with your registrar to do the redirect. My registrar has a configuration page where I can set this up. I know it works for ports, but I'm not absolutely sure about paths on your domain.

I think that doing is locally is probably the better solution. That way if you switch registrars you have less work to do and one less thing to break.

share|improve this answer

With the normal apache server, there's a file at /etc/apache2/extra/httpd-vhosts.conf that lets you match server names to document directories. With virtual hosts enabled you can change the root directory or create subdomains as you like.

share|improve this answer
Wiki Server 4 in OS X Server is an app written in ruby on rails i believe. The path actually links to a certain place in that app. – unmircea Nov 20 '12 at 9:14
Whether my answer would work or not depends on how the app gets its requests. The vhosts strategy would be fine for something that's installed as a web app with apache as the front end but not for something that controls its own server port numbers. – Phillip Mills Nov 20 '12 at 12:09
How can i find out which is the case on Wiki Server 4 on OS X Server? – unmircea Dec 2 '12 at 13:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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