Temp URL

Paulr

New member
Joined
Feb 14, 2014
Messages
4
Im new so this is prob a v stupid question. i need to test a new site (call it test.com) before i redirect the domain. if my main domain is mydomain.com and the site being tested is in the directory /home/admin/domains/test.com what is the URL to the test site? I have tried a number of versions but just get - Internal Server Error.

thanks
 
Temp Site

scsi thanks for the help.

1. Edit your hosts file on your computer or put a temporary subdomain on it.

we have different people working on this so more than 1 computer and i do not know how to edit the host file anyway.

2. http://1.2.3.4/~username/domain.com might work too

so say http://www.mysite.com/admin/test.com
no go this just gives Internal Server Error.

in ftp the location is sftp://[email protected]/home/admin/domains/test.com

but http://www.mysite.com/home/admin/domains/test.com also gives Internal Server Error. If the path is correct can I not just change a setting on the server so all our domains can also be accessed like this?
or any other ideas? again thanks for ur time
 
You may get a server error if your site software tests the domain name (for example WordPress), or if ownership matches cause problems depending on how you're running PHP.

That said, either use something like develop.example.com for the development version of example.com, or make changes to the hosts file.

Or create multiple views in DNS (not easily done with DirectAdmin running DNS).

Jeff
 
Back
Top