Hi. I am new to drupal and really enjoying learning it. If this is a simple question that has been answered a million times I apologise in advance but I couldn't find an answer.
I want to create a new drupal site. The problem is that the domain name I want to use for the site is currently in use (by me) running a static site at another host. I want to leave that static site 'live' until the new drupal site is ready to take over. When the new drupal site is ready I will point the domain to it.
My question is.... how do I access the new drupal site to construct it? Obviously I can't use the domain name as that will direct to old site. Have tried http://myhost.com/~myusername/admin. Also http://hostIPaddress/~username/admin and a few other variations.
Thanks in advance.
Comments
=-=
Only your host can answer this for you with complete certainty. Typically it is by ip address though whether or not you need to include ~username depends on the host. This IP may have been sent to you in your confirmation email from the host.
yoursite.com/admin won't work unless you've already installed drupal which I assume you haven't.
Personally, I'd suggest building on your local machine until complete and upload when ready.
I should have stated
I should have stated earlier... yes, I have installed drupal.
I prefer to develop the site on the host (instead of locally) because I am not the only contributor.... one of the attractive things about CMS.
Thanks for your suggestions. I will contact the host and see if they can help me.
=-=
if you installed drupal , what did you use to install it? the path to install would be the same path you want to use here.
Assumption here is that clean urls aren't turned on and is why the path /admin won't work
I left the install directory
I left the install directory blank during installation... the prompt said to do this if you want to install it to the public_html directory.
Full installation path was quoted to me as /home/myusername/public_html. I have tried appending this to http://myhost.com and also to ip address but no luck.
Normally I wouldn't be able to turn on clean urls because I can't accress the site! However I have found a way to access by changing my 'hosts' file on my computer (using my new server's ip address for dns). I will try turning clean urls on and let you know.
Have a couple of jobs to go to first.
Thanks again.
=-=
Does that mean you used your hosts 3rd party install and not a default drupal install?
public_html is the public root and should resolve as such with your IP address.
Was there an index.htm or index.html file in the public_html directory? could the IP be accesse from a browser or an FTP program before you installed drupal ?
just use the IP address
maybe I'm wrong but you can just use the IP Address ie mysite = http//:123.123.123
Thanks but this doesn't work
Thanks but this doesn't work for me. 'Page not found' error.
Does your host allow you to
Does your host allow you to create subdomains? Create one and use use it for the test site. For example, test.myhost.com
Or build the drupal site on your computer first while you're learning.
Perhaps I should clarify. We
Perhaps I should clarify. We have a new host for the new drupal site. The current 'live' site is hosted elsewhere... so I don't want to create a subdomain there.
Once again... I want to be able to collaborate on the new site so developing locally is not the solution I am looking for.
I am also aware that I can simply modify my 'hosts' file on my computer (using the ip address of the new site) and it will allow me to access the new site on the internet. This works however I am back to developing locally then or getting others to modify their host file too.
Surely there is some more elegant way to use that ip address in a URL to access the site from any computer's browser.
Thanks for your input.
If it is unrealistic to ask
If it is unrealistic to ask everyone to use the hosts file trick, then your options are:
(a) everyone simply use the IP address, the one that you used in your hosts file.
(b) get a new cheap domain name until your old one becomes available.
Surely there is some more
Forgive me if this sounds flip, it's not meant to, but there is-- it's called a domain name. That's the entire purpose of them-- not requiring people to remember ip addresses. You can either get an official one through a registrar or add an unofficial one to your hosts file. If you're on an intranet, the network folks may be able to add it further up the tree so the other people on the project don't have to do it individually. But that's about it-- there really is no other option.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
EVERY shared hosting vendor
EVERY shared hosting vendor that I know of includes a "free for life" domain registgration. Take advantage of it! Here's an example:
Assume that your "real" domain is MyDomain.com. Have your new host register MyDomain.net for you; or choose a totally unrelated URL. You might like to think of this domain as a "throwaway domain" since it doesn't have to bear any relationship with your "real" domain.
Develop using the "throwaway". Unless you do some dumb things like coding http://MyDomain.net... in your links (links to targets in your domain should be relative).
The only things that might cause a little problem are keys for external services (Google Maps, for example) that are registered to the domain name. However, it's really not very difficult to just get another key.
Good luck,
Mel
Thanks for all your replies.
Thanks for all your replies. Sorry, I have been out working.
What I can gather from all the above is that you guys all seem to be able to access your drupal site using the IP address. I can't. Perhaps there is something wrong with my drupal installation. The IP address does not work as a URL in a browser, but it works in the hosts file as a DNS lookup. Perhaps I'm using the server's ip address rather than my site???
Using another domain name temporarily is something I experimented with before posting this thread but I found that when the domain name for the site is changed the (drupal) site doesn't work any more. There are probably some simple steps to take to get it working again but I haven't learnt them yet.
I will have to go back to the drawing board... create the site from scratch, install drupal, confirm that I can access etc. Check I have correct ip address. Then I'll come back here if I still can't work it out.
Thank you all for your input.
Even better, start simpler
Even better, start simpler and try to browse a single index.html file. You probably have better chances to solve it on your own, because blind troubleshooting is tricky.
DNS problems?
Hi, pcmedics,
Do you still have the boxes your computer was in when it arrived?