forums Computer Tutorials Computer Help and Spyware Removal File DatabaseUninstall Database Windows Startup Programs Database Computer Resources Computer Glossary Forums Computer Help and Spyware Removal
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

 
Reply to this topicStart new topic
> Hosting My Own Website, Using Apache and No-ip
Seanio
post Apr 27 2008, 03:00 PM
Post #1


New Member
*

Group: Members
Posts: 7
Joined: 27-April 08
Member No.: 205,710



Hey,

I have just created a website, and I am trying to use my own computer to host this website. I have installed apache and also have installed the no-ip DUC application with the following domain name s-fix.no-ip.biz. I have also set up a Static IP address for my router. I am with BT Internet, so I dont know if they will allow me to host or not. But I will give it a go.

So I have a static IP, I have a domain name, I have apache, but I have set everything up according to plan, and when I go type in the website www.s-fix.no-ip.biz nothing appears. I enter in my ip address and all it does it takes me to my netgear router settings.

Also where do my web pages go? Do I have to direct apache to them? Very confused wacko.gif

Can anyone shed any light on this?
Go to the top of the page
 
+Quote Post
groovicus
post Apr 27 2008, 05:51 PM
Post #2


Hail Groovicus!
******

Group: Site Admin
Posts: 5,673
Joined: 5-June 04
From: Vermillion, SD
Member No.: 689



Do you have port forwarding enabled in your router? Specifically, do you have port 80 open on your router? Is Apache configured to use port 80? there are any number of things that could be happening. Can you access your page locally (from the machine on which it is located?).


--------------------
Go to the top of the page
 
+Quote Post
Seanio
post Apr 28 2008, 12:06 PM
Post #3


New Member
*

Group: Members
Posts: 7
Joined: 27-April 08
Member No.: 205,710



Hey groovicus,

Yes Port 80 is open, as I went into my Netgear router and opened up port 80 TCP and UDP both ways. I also port forwarded 80 aswell. In Apache (sorry dont want to sound stupid) but I have set apache to connect to local computer not another computer. But still I do not know how to get apache to use port 80.

No I cannot access my page locally, I have though inserted all of my HTML pages into the directory C:\Program Files\Apache Software Foundation\Apache2.2\htdocs.

How do I access my page locally?

Again thank you very much for the help smile.gif
Go to the top of the page
 
+Quote Post
groovicus
post Apr 28 2008, 12:49 PM
Post #4


Hail Groovicus!
******

Group: Site Admin
Posts: 5,673
Joined: 5-June 04
From: Vermillion, SD
Member No.: 689



In the address bar, if you type in localhost:80 or localhost:8080, does anything happen? Does the apache page even show up?


--------------------
Go to the top of the page
 
+Quote Post
Seanio
post Apr 28 2008, 03:36 PM
Post #5


New Member
*

Group: Members
Posts: 7
Joined: 27-April 08
Member No.: 205,710



Ah ha yes the website does appear. So I can now access my website locally which is what I initially wanted to do so that I can test it. I'm using SQL and adding in databases so that I can add in a username and password for my website along with a site search function for hardware and software, but this is much harder than I thought!

Thank you for the information! smile.gif
Go to the top of the page
 
+Quote Post
groovicus
post Apr 28 2008, 03:52 PM
Post #6


Hail Groovicus!
******

Group: Site Admin
Posts: 5,673
Joined: 5-June 04
From: Vermillion, SD
Member No.: 689



Ok, so now you know that Apache is working. Do you know on which port it worked? 80 or 8080?


--------------------
Go to the top of the page
 
+Quote Post
Seanio
post Apr 29 2008, 01:15 PM
Post #7


New Member
*

Group: Members
Posts: 7
Joined: 27-April 08
Member No.: 205,710



Yes it was on port 80, I port forwarded just port 80 and it has worked a treat. Thanks again for the help you provided me smile.gif
Go to the top of the page
 
+Quote Post
Seanio
post Apr 29 2008, 04:55 PM
Post #8


New Member
*

Group: Members
Posts: 7
Joined: 27-April 08
Member No.: 205,710



Just another quick question. I can access my website by typing in the following http://localhost/ and also http://localhost:80/ and my website comes up. But I would like to host my website so I can access it from another computer in a different location.

I input http://myipaddress/ and it just directs me to my router. I also insert http://mycomputername/ and it does actaully take me to my website. But I have just signed up to dyndns.com to get a domain name and I just dont know how to set it up.

Is there an easier, can I access my website from a completely different computer by typing in http://mycomputername/ ??
Go to the top of the page
 
+Quote Post
groovicus
post Apr 30 2008, 06:20 AM
Post #9


Hail Groovicus!
******

Group: Site Admin
Posts: 5,673
Joined: 5-June 04
From: Vermillion, SD
Member No.: 689



If you go to a computer not on your network and just type in your IP address, what happens? If you are getting your router, then you don't have your router set up properly. You should not be able to access the configuration options remotely.


--------------------
Go to the top of the page
 
+Quote Post
Amazing Andrew
post May 1 2008, 02:29 AM
Post #10


Bleepin' Night Watchman
******

Group: BC Advisor
Posts: 1,762
Joined: 5-December 05
From: The City of Saint Francis, by the western sea
Member No.: 43,307



I did a little poking around and here's what I think is happening.

www.s-fix.no-ip.biz won't work because that's not your address, s-fix.no-ip.biz is. So http://s-fix.no-ip.biz would point to your site.

Looking at the DNS info on s-fix.no-ip.biz, the IP address is recorded as being 192.168.0.136. I'm not a networking expert, but I believe IP addresses beginning with 192.168 are reserved for local networks, i.e. networks behind a router like most home and business setups. If I surmise correctly, you entered this IP in your no-ip.biz setup. Make sure, rather, that you give them you external address, which you can discover by visiting http://whatsmyip.org/ .

Once you've done that, it's simply a matter of forwarding ports as groovicus said earlier.

I'm not sure how no-ip.biz works but the above is how I set up my own webserver with http://www.dyndns.com/ for free. See: http://andrew.doesntexist.org


--------------------
Go to the top of the page
 
+Quote Post
Seanio
post May 1 2008, 12:05 PM
Post #11


New Member
*

Group: Members
Posts: 7
Joined: 27-April 08
Member No.: 205,710



groovicus and Amazing Andrew thank you so so much for the time you have given to help me on this. I have my website all up and running now, so I can now test my website using SQL database aswell to see if everything is working correctly for me.


Many thanks for your time! I have learnt so much from both of you. smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 6th July 2008 - 12:55 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Malware Removal Guides

© 2003-2008 All Rights Reserved Bleeping Computer LLC.