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 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
 </Directory>
</VirtualHost>

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

192.168.1.100

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

192.168.1.100/8888

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.

add comment

1 Answer

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
add comment

Your Answer

 
discard

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.