Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 17th, 2005, 2:40 PM   #1
Epoch_Apex
Newbie
 
Join Date: Oct 2005
Location: Downtown Toronto
Posts: 21
Rep Power: 0 Epoch_Apex is on a distinguished road
Putting content on Apache Server

Hi,

Just joined your forum recently.

I installed an apache server on my cpu and it works. So I put the content in the root folder. If I register a URL, how do I know what to set the nameservers to? Instead of http://localhost, is there another way I can see the root folder's documents in my browser - like do I just use my IP address?
Epoch_Apex is offline   Reply With Quote
Old Oct 17th, 2005, 2:57 PM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
yes. you can type http://127.0.0.1 (same as localhost). or put your IP from the ('ipconfig / ifconfig') command in there... all of that will work. You point the nameservers to your static ip that is referenced in the ipconfig/ifconfig utility. May want to register a domain name also.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Oct 17th, 2005, 10:43 PM   #3
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
You should get no-ip. http://no-ip.com . It's a name resolution service; it gives you a static URL to your potentially dynamic IP.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Oct 18th, 2005, 7:56 AM   #4
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
That's true, and probably a good idea if its a "personal" website.

http://business_name.no-ip.com doesn't sound to professional.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Oct 18th, 2005, 8:10 AM   #5
Epoch_Apex
Newbie
 
Join Date: Oct 2005
Location: Downtown Toronto
Posts: 21
Rep Power: 0 Epoch_Apex is on a distinguished road
How do I know if my ip is static or dynamic? And which is better?

Sorry, i'm a bit of a noob when it comes to the back-end stuff.
Epoch_Apex is offline   Reply With Quote
Old Oct 18th, 2005, 9:02 AM   #6
Epoch_Apex
Newbie
 
Join Date: Oct 2005
Location: Downtown Toronto
Posts: 21
Rep Power: 0 Epoch_Apex is on a distinguished road
I find the apache site tutorials kind of unhelpful. Is there a site any1 knows of with better tutorials?
Epoch_Apex is offline   Reply With Quote
Old Oct 18th, 2005, 10:56 AM   #7
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Quote:
How do I know if my ip is static or dynamic? And which is better?
Generally, the only real non-technical way that you can find out is by the documentation that came with your account. If it mentions "leasing" an IP or anything about dynamic IPs then you will know it's dynamic.

Another way that you can tell is go to http://whatsmyip.com/ and write than series of numbers down. Then shutdown your modem for about 5 minutes. Then turn your modem back on and go back to http://whatsmyip.com/ and if the IP is different, you have a modem that leases a dynamic IP.

In general, Dial-Up is static unless you choose a different location to dial to; DSL is dynamic; Cable is either-or, usually dynamic in my experiences.

Also, there's not really a better or worse situation with dynamic versus static IPs; it depends on what you need connection for. If you're hosting an *actual* site, static is much better, though any name resolution service will still take a dynamic IP and make a static URL.
Quote:
Sorry, i'm a bit of a noob when it comes to the back-end stuff.
That's fine, as long as you ask questions respectfully (which you have been).
Quote:
I find the apache site tutorials kind of unhelpful. Is there a site any1 knows of with better tutorials?
Not offhand. Just keep posting questions here and we'll help.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Oct 18th, 2005, 12:19 PM   #8
Epoch_Apex
Newbie
 
Join Date: Oct 2005
Location: Downtown Toronto
Posts: 21
Rep Power: 0 Epoch_Apex is on a distinguished road
Thanks, that helps a lot. Seems like I got it going, now I just need to register a name etc. etc.
Epoch_Apex is offline   Reply With Quote
Old Oct 20th, 2005, 10:57 AM   #9
Epoch_Apex
Newbie
 
Join Date: Oct 2005
Location: Downtown Toronto
Posts: 21
Rep Power: 0 Epoch_Apex is on a distinguished road
Ok, so I figured out my IP is static, but the problem is that I have my cpu connect to four other cpu's in a LAN. This makes my IP switch by a few digits if I switch it off. So its partially static.

If I want to host an actual site, what's the solution here? Do I just point the url to my ip and never turn off my pc hoping that it will stay the same? Is there a way to configure my network so that my ip stays the same?
Epoch_Apex is offline   Reply With Quote
Old Oct 20th, 2005, 10:59 AM   #10
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
never heard of a static ip changing... but.. you can connect to your router on your LAN and port forward PORT 80 (HTTPD) to a specific machine name.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:30 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC