Sub domains temporary URL still not supported?

jessay

Verified User
Joined
Oct 1, 2009
Messages
5
I found a 2007 posting where a user had the question as I did. One of my users who is allowed 5 domains has 2 set-up right now. His main one works fine with http://IP/~username/ structure however that is his main domain how can he view the temporary URL for his second domain so as he crosses over his mysql databases he can verify it is all working and then swap in my nameservers once it is time to go live.

First time poster but that is because the help links are so useful if you take the time out to read and search almost everything has been answered. DA has a great knowledge base.
 
What I recommend for individual users is for them to modify their hosts file on their own computer temporarily that way they can access their domain as normal to check everything.
 
Thanks for the fast reply,

What I recommend for individual users is for them to modify their hosts file on their own computer temporarily that way they can access their domain as normal to check everything.

well what I did for now to allow him to atleast see the other site is just have him set it as default. What do you mean by modify their hosts files on their own computer. Are you talking about him loading xampp up and what have ya? Oh my not some of my customers... I tend to have to hold their hand through alot of this stuff but it justifies my 25.00 a month flat rate!. I am just now adding VPS's to my Dedicated server as it is starting to fill up, I am use to Cpanel. However this new 2 gig opteron VPS provided directadmin which I am very happy with, just having to adjust my terminology to it so forgive my ignorance if I am off the mark with the xampp idea.
 
Floyd was referring to the hosts file on every internet-connected computer, including desktop computers. He was talking about making the addition, temporarily, to the hosts file, on the computer from which you want to view the site.

On linux and Mac desktops (and on your servers) the file is found at /etc/hosts.

On Windows systems it's found somewhere in your Windows subfolder tree.

Do NOT change it on your server; that won't help anything and could break things later.

Once you change it restart your browser and it will use the IP# you've set in hosts instead of the one in DNS.

At one time DirectAdmin created a system which would work; you can search these forums.

However it still won't work with and sites using PHP as CGI, and possibly not a lot of other sites as well.

You'll also have problems with these (above) sites when setting the default, because of file ownership issues.

So I recommend making the change to the hosts file as Floyd and I have described.

Jeff
 
Sorry I missed the reply. I would have posted sooner.

On Windows XP and I think Vista its C:\WINDOWS\system32\drivers\etc\hosts

I created a shortcut to it for myself since I do this on a regular basis.
 
Back
Top