homepage Welcome to WebmasterWorld Guest from 54.166.8.138
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Configuring Bitnami Virtual Server for Internet Access
Getting my Apache server accessible from the general internet
wncmacs




msg:4571898
 3:56 pm on May 8, 2013 (gmt 0)

I am an instructional technologist at a college who is having a whale of a time configuring an Apache web server.

We're trying to deploy a Wordpress blog for our teachers to use to share teaching concepts with each other, and my I.T. department has recommended that we use VMware to establish a virtualized server for this to happen. We have installed a Bitnami Wordpress stack with Apache and Wordpress as a virtualized server. A subdomain was assigned to it (teach.wpcc.edu) and an IP address was issued (10.99.2.64).

The install went well but I've run into a problem that is preventing the completion of our project. Here is the issue. The server (and Wordpress) are accessible on our campus network just fine, but it is not accessible outside our network. The domain resolves to the IP address, but nothing ever loads in the browser.

My I.T. department tells me that they don't know what to do to fix things so the server is available off-site. They are an IIS shop and don't do Apache.

Is there a configuration file I need to modify in order to turn the server to the outside world? Can you walk me through how to do it (or send me somewhere online) for documentation or assistance?

Thank you for any ideas that you have.

 

brotherhood of LAN




msg:4571916
 4:36 pm on May 8, 2013 (gmt 0)

Welcome to the forums

A subdomain was assigned to it (teach.wpcc.edu) and an IP address was issued (10.99.2.64).


The Internet already knows that HTTP requests for wpcc.edu should go to 10.99.2.64 (or 198.85.216.14 according to a ping of the server) , but does it know this for the subdomain? You also need to let Apache accept requests for the subdomain and let Apache know which root folder your site resides on.

VirtualHost Examples [httpd.apache.org] should contain the info that you need.

Something like this in your apache2.conf should work, Apache should be restarted or SIGHUP'ed to re-read this configuration.


<VirtualHost *:80>
ServerName teach.wpcc.edu
ServerAlias www.teach.wpcc.edu
DocumentRoot "/internal/path/to/website"
ErrorLog "/var/logs/example.com.error.log"
CustomLog "/var/logs/example.com.custom.log" combined
</VirtualHost>


Let us know how it goes.

wncmacs




msg:4571952
 6:03 pm on May 8, 2013 (gmt 0)

OK. I logged in to my server and cd'ed into my apache2 directory.

There is no apache2.conf file either in the apache2 directory or the conf directory.

Am I looking in the wrong place or do I need to create a apache2.conf file with pico?

I do have a httpd.conf file in the conf directory.

brotherhood of LAN




msg:4571956
 6:06 pm on May 8, 2013 (gmt 0)

Is httpd.conf blank?

I'm assuming you're running apache2.

In a standard installation it's found at /etc/apache2/

wncmacs




msg:4571966
 6:19 pm on May 8, 2013 (gmt 0)

I think that's the problem.

This is a Bitnami stack installed in a VMware virtual appliance environment.

The path I have to Apache is /opt/bitnami/apache2/

In the Apache2 directory, I have the following:

extra
fastcgi.conf
httpd.conf
magic
mime.types
modsecurity.conf
originalprivkey.pen
server.crt
server.csr
server.key
ssi.conf

wncmacs




msg:4571972
 6:23 pm on May 8, 2013 (gmt 0)

I might also add that Wordpress is installed in /opt/bitnami/apps/wordpress/

brotherhood of LAN




msg:4572011
 7:50 pm on May 8, 2013 (gmt 0)

I've never came across Bitnami to be honest, maybe someone else can offer a pointer or two.

try "locate apache2.conf"

point being, Apache will need to accept requests for your particular subdomain as per the code I put in my initial post.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved