How to call website with IP address as URL - html

I want to call my website with IP address.
Something like this hxxp://255.255.255.1

To access a web site using an IP adress, that web site has to be the default web site for the server.
A web server can host plenty of web sites using the same IP, the server determines which web site will handle the request from the domain name. The server can also have a default web site without a domain name, which handles requests without a domain name.

If you have hosted your website on IIS, then right-click on the Default Website directory.
Properties -> Home Directory
Use "Redirection to a url" option. Try that option.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true

Related

Is there a way to use google sites with a subdomain of a google domain if the domain root is not hosted on google?

I have a google domain like www.example.com which is hosted on digital ocean and for that reason I am using custom name servers setup on google domains as shown in image below.
I have created a google site and would like to use www.blog.example.com as the address but I have not been able to properly set up its DNS records while using custom name servers. It was added to default name servers by default but If I switch to this setting my main website will go down.
How would I go about it? Are there better ways to do this?
Thank you for your time.
I was able to setup this connection trough DigitalOcean which hosts the main site with a CNAME under the root domain.
Type: CNAME
Hostname: blog.example.com
Value: ghs.googlehosted.com.

Putting HTML online using Xampp

I have created a website in HTML. And I use LAN in my hostel. Currently I am using xampp to run the site on localhost.Now I want to put my website online so that other guys using the hostel LAN could access it. How should I do it?
You should either find a machine with a static IP address and configure xampp and your firewall to work with the network. You can then share that IP address with your users.
If you need a domain name, you might want to google for some good hosting providers and upload your website there and configure it with your domain name.

Beginner: How do I upload an HTML only site to the web host?

I'm trying to make a simple four page website, all HTML with some CSS and images. This is my first site. After I'm done building the HTML documents, what do I need to upload them and get the site running?
In order to put up a website, you need a web hosting provider. So the first thing you need is a hosting provider. Make sure that your provider offers FTP access to your website. You will need to contact your hosting provider (http://webdesign.about.com/od/webhosting/f/blfaqwebhosting.htm) if you aren't sure.
Once you have a hosting provider, in order to connect by FTP you need some specific information:
your username
password
the host name or URL where you should upload files
your URL or web address (especially if it's different from the host name
You can get this information from your hosting provider if you aren't sure what it is.
Make sure your computer is connected to the internet and that your WiFi is working.
Open an FTP client. As I mentioned above, most computers come with a built-in FTP client, but these tend to be fairly hard to use. It's better to use a visual style editor so you can drag and drop your files from your hard drive to your hosting provider.
Best FTP Clients for Windows
Best FTP Clients for Macintosh
Following the instructions for your client, put in your host name or the URL where you should upload your files.
If you try to connect to your hosting provider, you should be prompted for a username and password. Enter them in.
Switch to the correct directory on your hosting provider.
Select the file or files you want to load onto your website, and drag them to the hosting provider pane in your FTP client.
Visit the website to verify that your files uploaded correctly.
Tips:
Don't forget to transfer images and other multimedia files that are associated with your website, and put them in the correct directories.
It can often be easiest to just select the entire folder and upload all the files and directories at once. Especially if you have fewer than 100 files.
What You Need
FTP client
check this out http://webdesign.about.com/cs/beginninghtml/ht/htupload.htm i hope this could help you

HTML href link to local ip camera web server

I have a website running on a NAS server and I also have a ip camera on my network. I can configure port forwarding on my router to forward http requests to either my nas website (192.168.1.64) or ip camera (192.168.1.200) from the internet. I have configured both independently and was able to access from internet. However, I only have one IP address so I have configured port forwarding on my router to forward http requests ( port 80) to the web site on my NAS where I have provided a hyperlink on the default html page to the IP camera (href=http://192.168.1.200/....html). From home the link works because the internet browser is running on a computer on my network. But browsing from a computer ouside of my router ( the internet) the link does not work. The browser is attempting to communicate with ip address 192.168.1.200 which do not exist on the internet. How can I link to the ip camera website from a html page on my NAS website behind the router. I hope I have explained this in enough detail for you to understand.
You can't, plain and simple. This is because you can never get your browser to connect the device that does not have the port forward directly, therefore you can never load a page directly from that device to your browser, however you try and work it.
When I refer to "the other device" in this is answer, I am referring to whichever one does NOT have the port opened through the router to it.
Setting aside the security problems you are creating by doing this that frankly, horrify me, you have two options:
Set up a port redirect on your router to the other device, so that a different public port is redirected to port 80 internally. This would mean you could access both devices directly across the internet. Not all routers support this (albeit fairly basic) functionality.
Set up some form of proxy script that will fetch the page from the other device and display it on a page (in an iframe maybe?) on the device that does have a port forward. This will probably require a third web server inside your network, since it is unlikely either the NAS or the camera will support any form of scripting language.
I do not recommend either of these options, but that is what you are left with.
You are creating a huge hole in your network security by doing this. Only do it if you 100% trust the fact the neither device could under any circumstances be hacked into. Are you that confident in some software you didn't write - or even some you did?

How to launch my web page in a web hosting domain?

Am very to new to web development.
I have the web pages; web pages are developed in html, CSS Style sheet.
For Example
I have the ftp domain or crystal.com for hosting my web page
For hosting my web pages, I have to create setup file for hosting my web page or simply post my html files.
Can any one tell the procedure, what are the things I have to do for the web hosting?
Note: I am not asking about Web hosting domain. Already I have the domain, but how to post my html files in that domain.
Need Help?
Ftp is the best way to publish your files. Use something like filezilla and read the help docs. You will upload the files to a folder (usually something like public_html) and then the files correspond to your domain. Example:
you upload a file:
/public_html/blog/index.htm
then go to your site:
http://www.yourdomain.com/blog/index.htm
Here is a good tutorial on FTP. It's pretty easy once you get the hang of it.
You need to set up your domain provider's DNS server to point to the server where your files are located. For example, I have my domain (brasee.com) through GoDaddy.com, and I host my site locally. So I go to the GoDaddy website and update their DNS server to forward brasee.com requests to my server's IP address.