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

I am following this guide to intall redmine.

It has a section on apache2 virtual host configuration.

sudo nano /etc/apache2/sites-available/mysite
<VirtualHost *:80>
 ServerName my_domain.com
 DocumentRoot /var/www/redmine
 ServerAdmin user@example.com
 LogLevel warn
 ErrorLog /var/log/apache2/redmine_error
 CustomLog /var/log/apache2/redmine_access combined
 <Directory /var/www/redmine>
 Options Indexes FollowSymLinks MultiViews
 AllowOverride None
 Order allow,deny
 allow from all
 RailsBaseURI /redmine
 PassengerResolveSymlinksInDocumentRoot on

In my case, I have a Ubuntu server with static ip

I need to access the redmine application preferably in a non standard port (instead of ServerName configuration as above and access through http://my_website).

So, I need to access the application from another PC (need access only in local subnet) through url

thanks in advance.

share|improve this question

migrated from stackoverflow.com Aug 22 '12 at 6:42

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

You can just change this line

<VirtualHost *:80>

to this in order to listen on port 8888

<VirtualHost *:8888>

And of course restart the server after making this change.

share|improve this answer

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.