472,122 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

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 2556
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.