Help - Search - Members - Calendar
Full Version: access to Vhost before DNS is resolved...
The Planet Forums > Control Panels > Plesk
tapster
is it possible to access to a domains web site before it's DNS resolved?

eg. http://100.100.100.100/~something


I need to get a lot of stuff configured asap icon_sad.gif

thanks
tuhost
MAYBE, it will be a good idea put a Sticky on top with regular questions like this, a "FAQ" topic.


For this, you will need have your main domain working on your server.


1. Login into your server as root, then:

QUOTE
pico  /home/httpd/vhosts/.skel/conf/vhost.conf



2. copy and paste this line and change "yourpreviewdomain.com" for your main domain (dont change @domain_name@.!!!!):

QUOTE
ServerAlias @domain_name@.yourpreviewdomain.com



3. press [Ctrl] + [X] then [Y] and finally [enter]


4. login in plesk as Admin, go to yourpreviewdomain.com and then to DNS and create an A record like this (change the xxx.xxx.xxx.xxx for your main ip):

QUOTE
*.yourpreviewdomain.com.  A xxx.xxx.xxx.xxx



5. Done!, now all your NEW domains can ve pre-viewed as http://domain.com.previewdomain.com/

example: http://titeresburbujas.com.ar.elnameserver.com.ar/


The originial HOW-TO can be found here http://forum.plesk.com/showthread.php?s=&threadid=7346
tapster
thanks very much tuhost, but this box is a complete replacement for one at another host who shall remain nameless, so all the domains are working their way through the global DNS system

as my service is down, I was hoping to pre-config everything (mysql etc) and check it was all ok ready for when they do resolve

I guess there's no way to do it from the IP then icon_sad.gif

thanks all the same
tuhost
there is some ways to see the users like IP/~ftpusername


these ways are a little bit more complicated, you shuld look for it on http://forum.plesk.com/.

there is one or two ways to do it.


good luck.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.