469,167 Members | 1,949 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,167 developers. It's quick & easy.

Accessing my web server from the outside world

158 100+
I have successfully installed "LAMP" and can get to my web server by typing 10.0.2.15. How can I make it so that when I type in my domain name it brings up my web server.

Thanks in advance!

Matt
Jul 4 '10 #1

✓ answered by Hydaral

That would be your Apache configuration, looks like there are some user-friendly tools for Ubuntu, here is a guide:

http://www.zaphu.com/2007/08/21/ubun...l-and-cgi-bin/

If you want to dig more into the Apache configuration, the section you need to look at is VirtualHost, the config file should be: /etc/httpd/conf/httpd.conf

http://httpd.apache.org/docs/2.0/configuring.html

http://httpd.apache.org/docs/2.0/mod...ml#virtualhost

For a single site, the simplest way would be to just change your DocumentRoot to the root directory of your site files.

4 2440
Hydaral
24
You will need to set up a BIND server and create A Records or CNAMEs:

http://articles.techrepublic.com.com...1-1031784.html
Jul 5 '10 #2
Jollywg
158 100+
worked great...now i have a new issue lol.
when i go to http://www.pc-instructor.com it brings up the "It Works!" page, but if i go to http://www.pc-instructor.com/pc-instructor it brings up the correct page. How do i tell this to point to the pc-instructor folder in Ubuntu?

Thanks again!
Matt
Jul 5 '10 #3
Hydaral
24
That would be your Apache configuration, looks like there are some user-friendly tools for Ubuntu, here is a guide:

http://www.zaphu.com/2007/08/21/ubun...l-and-cgi-bin/

If you want to dig more into the Apache configuration, the section you need to look at is VirtualHost, the config file should be: /etc/httpd/conf/httpd.conf

http://httpd.apache.org/docs/2.0/configuring.html

http://httpd.apache.org/docs/2.0/mod...ml#virtualhost

For a single site, the simplest way would be to just change your DocumentRoot to the root directory of your site files.
Jul 5 '10 #4
Jollywg
158 100+
Thank you so much that worked perfectly!!!
Jul 7 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by gurnandank | last post: by
2 posts views Thread by somaboy mx | last post: by
2 posts views Thread by bdtmike | last post: by
4 posts views Thread by John Kotuby | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.