|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
DNS Questions
after we setup the web server, can we access the webpage on the web server by other pc without DNS? directly we type the web server IP, can we?
and if the web server IP is not a static IP? Thanks in advance for your help. |
|
#2
|
||||
|
||||
|
RE: DNS Questions
No need for DNS if it is IP-only access. If the IP is dynamic and changes, you always need the current IP in order to connect to the server.
|
|
#3
|
|||
|
|||
|
RE: DNS Questions
Thank you, tkarkkainen !
I currently staying at the student hostel with provided Internet Access. I did not know what is my current IP and how do we know the network is allow open port 80 for people hosting web server? That network is using DHCP to assign our IP. Thanks in advance for your help. |
|
#4
|
||||
|
||||
|
RE: DNS Questions
You can try port 80 by trying to run your webserver and then trying to connect to it from outside.
Finding out IP address: In Windows: Start->Run->winipcfg->OK This will run a program which shows you this information and much more In Linux: I'm still a Linux newbie, so I don't know the command But anyway,if you are going to test your server so that both client and server are on the same computer, you can use the loopback address which is 'localhost' or '127.0.0.1' |
|
#5
|
|||
|
|||
|
RE: DNS Questions
Thank you again, tkarkkainen !
The way you guide me to get the IP address is internal my network IP or LAN IP, of course I had try it before at outside my network. It's doesn't work. It's only work inside my network with the LAN IP on same computer. I also try before 'localhost' or '127.0.0.1' on same computer, it's ok. My Apache work properly as well. |
|
#6
|
||||
|
||||
|
RE: DNS Questions
Okay, so you're using NAT. You can find your internet IP by going to a web page which shows your IP.I think Shields Up page shows you it: https://www.grc.com/x/ne.dll?bh0bkyd2
|
|
#7
|
|||
|
|||
|
RE: RE: RE: DNS Questions
the URL u give me is very useful, thank you.
but unluckly, my HTTP service, port 80 exists but is currently closed to connections. Only HTTPS service, port 443 is open. Can we use this port for web hosting? |
|
#8
|
||||
|
||||
|
RE: DNS Questions
Yes, you can use HTTPS, but the 'S' in it stands for secure and HTTPS requires SSL support. You need to buy a certificate for your server.
Are you sure that your server is configured correctly and it tries to listen to port 80? |
|
#9
|
|||
|
|||
|
RE: RE: DNS Questions
Yes, I think my server is configured correctly because I already try many times the page by 'localhost' or '127.0.0.1', it's work.
I had already try to listen port 80 with the IP detect by the website, it's doesn't work. From the website detect, my network port 80 is closed. Can we still have other way or hack the port 80 for web hosting? So, any idea? |
|
#10
|
||||
|
||||
|
RE: DNS Questions
I dunno... Perhaps you should ask the people who manage the internet access for the student hostel.
|
|
#11
|
|||
|
|||
|
RE: RE: DNS Questions
ok, thank you tkarkkainen !
I should ask the Administrator for open port 80 permission. |
|
#12
|
|||
|
|||
|
RE: DNS Questions
In your httpd.conf you could change your port to something like 81
|
|
#13
|
|||
|
|||
|
RE: RE: DNS Questions
Thank for ur relied, postalcow !
I changed it and try to listen port 81, 777, 1111 and other ports also. It's doesn't work. ........ |
|
#14
|
|||
|
|||
|
RE: DNS Questions
Did you restart apache after you changed it?
/etc/rc.d/init.d/httpd restart |
|
#15
|
|||
|
|||
|
RE: RE: DNS Questions
yes, i change and save httpd.conf before start my Apache, also change to other port, save and restart the Apache.
I'm sure also the changing port because i try 1st with 'localhost:<insert port>' or '127.0.0.1:<insert port>' before i listen with my IP. It's only work with '127.0.0.1:<insert port>', but doesn't work with my real IP! |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > DNS Questions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|