Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Newbie question about Virtual Server without DNS
Old 12-01-2010, 05:43 AM Newbie question about Virtual Server without DNS
Novice Talker

Posts: 9
Trades: 0
Hello,

I have searched endlessly for an answer to this, but it's just too complicated for me. Hope someone here can help me out, would be much appreciated!

I have a VPN running multiple Virtual Servers and have acces to this via Webmin. For a new website, I created a new Virtual Server and did it according to the Webmin guide. I haven't decided on a WWW name yet, so entered a temporary fake name. Now, when I point to the IP adress /directory that I have my index.html it show a site we're no longer running. I'm guessing that without a working DNS redirect the server points to a standard Virtual Server with the old site. The helpdesk of my provider says they're too busy to help me and that this is not standard configuration, so I should google on how to change this...

Anyone have a clue on what I should do?
Much appreciated!
stipto is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-01-2010, 08:34 AM Re: Newbie question about Virtual Server without DNS
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
Is your VPS server running linux based OS?
You need to install BIND9 and create zone files.
There is also webmin bind9 module which will help you a lot if you dont want to mess with editing files.

type in the console:

Code:
yum install -y bind bind-chroot bind-utils bind-libs caching-nameserver
or apt-get instead of yum, depending on your OS.
After the installation start the service with:
Code:
sudo /etc/init.d/named start
Hit refresh modules in webmin and you'll find it under Servers section.

Then read this:
Code:
http://rimuhosting.com/support/bindviawebmin.jsp

Last edited by miki86; 12-01-2010 at 08:35 AM..
miki86 is offline
Reply With Quote
View Public Profile
 
Old 12-01-2010, 08:42 AM Re: Newbie question about Virtual Server without DNS
Novice Talker

Posts: 9
Trades: 0
Thanks for your reply miki86,

I will try this out and hope it works.
My server runs on CentOS Linux 5.3. I have a BIND DNS Server module under "Servers" and it says "The primary configuration file for BIND /etc/named.conf does not exist, or is not valid. Create it?"

I'm gonna google and learn all about this before I do anything, as I don't want to mess up anything.

Thanks.
stipto is offline
Reply With Quote
View Public Profile
 
Old 12-01-2010, 08:47 AM Re: Newbie question about Virtual Server without DNS
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
No problem, i had same problem as you.

If you allready have it installed then just read the tutorial i gave you, and remember to restart the service after every change.
miki86 is offline
Reply With Quote
View Public Profile
 
Old 12-01-2010, 09:08 AM Re: Newbie question about Virtual Server without DNS
Novice Talker

Posts: 9
Trades: 0
Just a small question: If I mess around with this, is there no risk of bringing other sites down on the server?
stipto is offline
Reply With Quote
View Public Profile
 
Old 12-02-2010, 09:47 AM Re: Newbie question about Virtual Server without DNS
Novice Talker

Posts: 9
Trades: 0
OK! I've set it up.
Only... how to navigate to the site now? The URL doesn't work.
I think I've done something wrong somewhere...

I couldn't set up the CNAME. Maybe that's it?

Thanks for your help!
stipto is offline
Reply With Quote
View Public Profile
 
Old 12-02-2010, 11:59 AM Re: Newbie question about Virtual Server without DNS
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
You cant have any errors, go back and set it again.
Apply changes, stop bind server, start bind server.
And use pingability.
miki86 is offline
Reply With Quote
View Public Profile
 
Old 12-03-2010, 03:26 AM Re: Newbie question about Virtual Server without DNS
Novice Talker

Posts: 9
Trades: 0
Hey man,

Thanks for your help so far. I've set it up again, stopped and started BIND but it doesn't work.

Maybe it's because I type in the wrong adress. This domain isn't registered anywhere, it's just for testing and setting up a site. Should I type in the domain in the browser: "www.mytestdomain.com" or should I type in something else?
stipto is offline
Reply With Quote
View Public Profile
 
Old 12-03-2010, 04:10 AM Re: Newbie question about Virtual Server without DNS
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
If it isn't registered then you can't access your server using that domain.

If you are testing only i suggest you use ip address to access your web site, leave DNS for later.
miki86 is offline
Reply With Quote
View Public Profile
 
Old 12-03-2010, 04:21 AM Re: Newbie question about Virtual Server without DNS
Novice Talker

Posts: 9
Trades: 0
Well, the problem with that is that it points to the wrong virtual server/website (that was the whole point of this post).
I have multiple Virtual Servers running, and if I type in the IP adress of the server, it shows me an old site. I think it redirects all requests of the IP to this website. How do I acces 1 Virtual Server in particular?
stipto is offline
Reply With Quote
View Public Profile
 
Old 12-04-2010, 08:50 AM Re: Newbie question about Virtual Server without DNS
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://httpd.apache.org/docs/1.3/vhosts/

http://httpd.apache.org/docs/2.0/vhosts/examples.html

http://www.devshed.com/c/a/Apache/Co...sts-in-Apache/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-15-2011, 12:10 PM Re: Newbie question about Virtual Server without DNS
Novice Talker

Posts: 9
Trades: 0
Really late, but problem solved. I now use subdomains of registered domains with rules in .htaccess that prohibit access from all but my IP. Thus creating an awesome testing server.
Thanks for all your help!!
stipto is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Newbie question about Virtual Server without DNS
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.49161 seconds with 12 queries