I am redesigning a website for a friend who already has it up and running. I have an existing site hosted currently. What I’d like to do is set up my friend’s domain as he will be moving the hosting over to my account. I want to develop under his user account and website, but I would like it be previewed through my current site. So for instance:
MyFriendsSite.com is alive and well hosted elsewhere and I don’t want to mess with that right now. So I created a domain under a new user account /home/myfriend/myfriendssite.com
Obviously I can’t ssh in there or visit the site since the DNS stuff is still set to his current hosting. So, I want to create a subdomain on ScottbSite.com:
and I want that to pull content from /home/myfriend/myfriendssite.com
And I want to be able to ssh into myfriendssite.com to edit the files and do the development. How I’ve set things up doesn’t seem to work, so hoping someone here can help out. Hope this is a good explanation.
thanks in advance!