Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-08-2005, 10:35 PM   #1
Member (9 bit)
 
Join Date: Dec 2001
Location: US
Posts: 468
Send a message via AIM to wilbasket23 Send a message via Yahoo to wilbasket23
How to configure Apache to work with no-ip.com sub domains

i register a new subdomain from no-ip.com the subdomain is myname.no-ip.com how to configure apache to work with my sub domain. is there any setting i have to set up with my router too. i set up my apache server with the following setting

i set up port as port 8081
i set up servername as servername myname.no-ip.com
i also download the client software from no-ip.com to automatically update my ip

i have a Dlink 614+ router

i do port forwarding to forward all incoming http requests to my computer port 8081.

i set up this setting in vitual server in my router

but when i check it from internet explorer http://myname.no-ip.com:8081 . it give me error message "The page can't be display"

when i ping the myname.no-ip.com it was successful it return my WAN ip address
wilbasket23 is offline   Reply With Quote
Old 05-08-2005, 10:44 PM   #2
Member (3 bit)
 
Join Date: May 2005
Location: Ontario Canada
Posts: 4
in the setup files (httpd.cfg) use a domain name of 120.0.0.1 or your own IP
It runs as a service on XP.
ZePH is offline   Reply With Quote
Old 05-08-2005, 10:50 PM   #3
Member (10 bit)
 
Join Date: Jul 2002
Location: University of California, Santa Barbara
Posts: 800
Test apache by going to http://localhost:8081, or http://127.0.0.1:8081 (which will automatically go to your computer) to see if apache is functioning properly, then we will have a better idea on where the problem might lie.
mattg2k4 is offline   Reply With Quote
Old 05-08-2005, 10:58 PM   #4
Member (9 bit)
 
Join Date: Dec 2001
Location: US
Posts: 468
Send a message via AIM to wilbasket23 Send a message via Yahoo to wilbasket23
i need to put in my WAN IP Address or Private IP Address.

if i put in my WAN IP Address. what is the point of using no-ip.com sub-domains. and IP-client to update the wan address

what is the 120.0.0.1 ip address. what is that for
wilbasket23 is offline   Reply With Quote
Old 05-08-2005, 11:00 PM   #5
Member (9 bit)
 
Join Date: Dec 2001
Location: US
Posts: 468
Send a message via AIM to wilbasket23 Send a message via Yahoo to wilbasket23
i test with http://localhost:8081 and http://127.0.0.1:8081 both went fine. i can see the index.php pages.

however when i type http://wilbasket23.no-ip.com:8081

it give me an error "The page can't be display"
wilbasket23 is offline   Reply With Quote
Old 05-08-2005, 11:49 PM   #6
Member (10 bit)
 
Join Date: Jun 2003
Location: Alaska
Posts: 903
Send a message via AIM to ZeratulsAvenger
Are you testing that link(http://wilbasket23.no-ip.com:8081) from your computer on your own network or from a computer outside your network(such as a friends computer)? As far as I know it will not work from your own network, but will from another. You see how it looks by checking the http://127.0.0.1:8081. Test it out and see. Have a friend try and go to the link(http://wilbasket23.no-ip.com:8081) when you have apache turned on and ready and see what they get.
ZeratulsAvenger is offline   Reply With Quote
Old 05-09-2005, 12:53 AM   #7
Member (3 bit)
 
Join Date: May 2005
Location: Ontario Canada
Posts: 4
try http://120.0.0.1/xyz/whatever.html

in the Apache http folder make sure your web page is in a folder name it xyz, in that folder either have your html doc named whatever.html and type the address.It should find it. by the sounds of it,you have Appache working.

120.0.0.1 is a IP for a local domain name for any computer running Apache on it as a server. (thats as basic as I can remember it,Im sure theres someone that knows better than me).
ZePH is offline   Reply With Quote
Old 05-09-2005, 01:01 AM   #8
Member (9 bit)
 
Join Date: Dec 2001
Location: US
Posts: 468
Send a message via AIM to wilbasket23 Send a message via Yahoo to wilbasket23
in apache server

servername i need to type wilbasket23.no-ip.com:8081 right

do i need to set anythings else in my Dlink 614+ router
wilbasket23 is offline   Reply With Quote
Old 05-09-2005, 01:14 AM   #9
Member (3 bit)
 
Join Date: May 2005
Location: Ontario Canada
Posts: 4
Don t know bout the router but...your using you computer to access apache on the same rig right? if yes the router don t really matter as far as I know. The Apache folder I was refering to is Apache Group>Apache2>htdocs now make a folder in there called xyz and put whatever html page (for giggles call it doc.html) you want in there,open firefox of IE whatever browser you wish, put in http://120.0.0.1/xyz/doc.html
You don t nessasarally need the folder,but I keep them there to keep things organized.
You maybe also able to replace 120.0.0.1 with localhost it might work as well, depends how you edited the Apache httpd.cfg file
http://localhost/xyz/doc.html
your server name is either 120.0.0.1 or localhost try both.
Is wilbasket23 a folder you put into the htdocs folder?
type this to see what happens http://localhost/wilbasket23/ or http://120.0.0.1/wildbasket23/ you ll get a ftp type page with the available folders showing.click onto the page you want.
ps...where do you get the no-ip.com from?

Last edited by ZePH; 05-09-2005 at 01:19 AM.
ZePH is offline   Reply With Quote
Old 05-09-2005, 09:28 AM   #10
Member (10 bit)
 
Join Date: Jun 2003
Location: Alaska
Posts: 903
Send a message via AIM to ZeratulsAvenger
A correction, it's 127.0.0.1, not 120.0.0.1.
Did you try what I said to do?
wildbasket23 is the subdomain name given to him by No-Ip.com, a site that allows a person with a dynamic IP address to create a server by assigning a site(http://wilbasket23.no-ip.com) to your IP address to route you to it whatever your IP may be. The IP address is updated every 15 or so minutes from a program on your computer so that if your IP changes by way of your ISP or something, the site will still direct viewers to your computer.
ZeratulsAvenger is offline   Reply With Quote
Old 05-09-2005, 09:43 PM   #11
Member (9 bit)
 
Join Date: Dec 2001
Location: US
Posts: 468
Send a message via AIM to wilbasket23 Send a message via Yahoo to wilbasket23
can you try wilbasket23.no-ip.com:8081

i try it on my work computer.

but "the page can't be display" appear

when i went in to command prompt,

i type ping wilbasket23.no-ip.com

i return successfully,

any comment
wilbasket23 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:22 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2