473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 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 2735
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

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

Similar topics

1
by: duying | last post by:
Can use socket to connect to the outside world through http proxy in c#? If it can do, How to do this? thanks very much!
2
by: gurnandank | last post by:
Hi, I have a web application which uses SSL on one the folders. When I developed application the set up was webroot and under that folder called 'secure'. My ISP has provided a folder called...
2
by: Stu | last post by:
Hi, I am migrating a large app to .Net 2 and am having problems with accessing hidden fields using javascript. As I am using masterpages the control names are prefixed with the control...
2
by: somaboy mx | last post by:
Is there a way to see the value of a constant that is defined outside of the class body from within the class? I need to do something like this, but it isn't working: // in one file I define...
2
by: bdtmike | last post by:
This is a dumb newbie questions: I have an asp.net 2.0 website that needs to access a folder out on another server. It needs to look at this folder and process files which are uploaded by another...
2
by: Stu | last post by:
Hi, I have a javascript that needs to reference a server control (Listbox1) to check if an item is selected but the server controls are renamed '_ctl0:mainbody:Listbox1' when displayed in a...
1
by: Mad Scientist Jr | last post by:
For some reason I can't get a WebClient to access an outside URL from behind our firewall. The code works when it runs outside the firewall. I turned on windows authentication in the web.config...
4
by: John Kotuby | last post by:
Hi all, I am using a Repeater in conjunction with a SQLDatasource and SQL Server. One of the controls in the repeater is a HyperlLink as follows: <asp:HyperLink...
2
by: jankhana | last post by:
Hi all, I'm not used to web.config and ASP.NET. I want to know whether is this possible and if so how??? I have my client accessing my server for some work and the server in turn...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.