|How to launch the website out.|
How to lunch the website because it is now can be seen in linux /etc/hosts
| 3:24 am on Oct 31, 2008 (gmt 0)|
Any one who knows how to launch the website, now i set it in /etc/hosts, and it just can be shown.
Now how do I make it launch out, so that other visitors can see that website.
someone who can help me, I will be graceful. Thanks!
| 3:46 am on Oct 31, 2008 (gmt 0)|
No one will answer this? :(
| 4:34 am on Oct 31, 2008 (gmt 0)|
You need to have an index page in the root directory.
It sounds like you've done some work and your files are in /etc/hosts, you'll need to have the main page be in www.example.com/index, if all your site files are in www.example.com/etc/hosts then nobody can see them.
Thats my best advice based on what you've written here.
| 4:58 am on Oct 31, 2008 (gmt 0)|
Thanks, it is not the answer i wanted.
This means, I set IP like vi /etc/hosts, in my local linux terminal command.
Then i can see it in my firefox, but for someone who doest set it in /etc/hosts in their own pc, then they still can view it but that is not the exact site I want to see (because we meet the same domain name)
So now, how can I do that?
- can do any alias to point to it, but how to do it? any idea?
| 4:40 pm on Oct 31, 2008 (gmt 0)|
/etc/hosts is only local to your machine.
Your domain registrar may provide DNS services, if not then you will either need a third-party DNS service or run a DNS server yourself. Then you configure your domain name to use your nameservers, which in turn send requests to your IP address. Those requests are handled by the Apache installation on your server.
I would recommend first seeing if your domain registrar can set this up for you.