Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Previewing websites before DNS propogation?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
missionaryman
Posts: 50
Joined: Mon Oct 27, 2014 10:04 am

Previewing websites before DNS propogation?
  • Quote

Post by missionaryman » Mon Oct 27, 2014 10:07 am

Can I preview websites using VestaCP before my DNS has propogated? Is there a syntax like:

mainsite.com/~secondsite

or like the Plesk variant: secondsite.com.xx-xx-xx-xx.mainsite.com
Top

krok
Posts: 65
Joined: Wed Oct 01, 2014 10:58 am

Re: Previewing websites before DNS propogation?
  • Quote

Post by krok » Mon Oct 27, 2014 1:22 pm

http://vestacp.com/docs/#how-to-configu ... ew-domains
Top

szimre
Posts: 16
Joined: Sun Nov 02, 2014 11:54 pm
Contact:
Contact szimre
Website

Re: Previewing websites before DNS propogation?
  • Quote

Post by szimre » Mon Nov 03, 2014 12:10 am

Hi!

I think the easiest method is to edit your operating systems host file and add the following lines:
"your.server.ip.address <tab> domain.name" like this: "1.1.1.1 example.com"
This way your OS will not query the DNS servers about the domain, instead use the local host file to determine the IP address of the server.

On Windows 7 (not sure if i remember correctly, i'm not using it anymore):
C:/Windows/System32/drivers/etc/hosts

On Macintosh:
/pricate/etc/hosts

There might be a permission issue when saving the edited hosts file, you can find the solution and the whole process in Google.
Top

geektome
Posts: 1
Joined: Wed Nov 05, 2014 6:45 pm

Re: Previewing websites before DNS propogation?
  • Quote

Post by geektome » Wed Nov 05, 2014 6:48 pm

You could just add an alias to their domain with the main site in it like: xxxxxx.mainsite.com. That works for me, however, I have a wildcard setup for subdomain as a record set for my main site so I don't have to add the subdomain each time.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password