change local host name to http://myshopname.com/?
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 19, 2011 12:45PM

I do want to test my live shoponthelokal server WAMP
How i chanche the url for connecting the shopfiles directories?

On my live shop : [myshop.com] to get this local ( no LAN computers or outside computers..only me on the lokal computer )

Than i must use my local ip adress for myshopname.com ?
So mylocalipadress mustn be assigned to myshopname.com?


The easiest way is to use the same directory paths as the configuration files
I am worry about the paths used on the live shop and must be the same on the local computer

define('DIR_FS_DOCUMENT_ROOT', '/home/jdouma/domains/zerospec.com/public_html/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)


-----------------------------------------------------------------------------------
// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
define('HTTP_SERVER', 'http://zerospec.com'); // eg, [localhost] or - [localhost] should not be NULL for productive servers
define('HTTP_CATALOG_SERVER', 'http://zerospec.com');
define('HTTPS_CATALOG_SERVER', 'http://zerospec.com');
define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/jdouma/domains/zerospec.com/public_html/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/admin/');
define('DIR_FS_ADMIN', '/home/jdouma/domains/zerospec.com/public_html/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_FS_CATALOG', '/home/jdouma/domains/zerospec.com/public_html/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_FLAGS', DIR_WS_IMAGES . 'flags/');//contri
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', '/images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', '/includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', '/home/jdouma/domains/zerospec.com/public_html/includes/languages/');
define('DIR_FS_CATALOG_IMAGES', '/home/jdouma/domains/zerospec.com/public_html/images/');
define('DIR_FS_CATALOG_MODULES', '/home/jdouma/domains/zerospec.com/public_html/includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: yfastud (Moderator)
Date: January 19, 2011 02:57PM

You need to setup Access, DNS, and VH; Access for permission to connect to your Wamp PC, DNS to tie domain(s) to your Wamp PC, and VH to host multiple domains/websites and even you have only 1 domain/IP, you should use VH to set it up w/ the site you want to show up first on top and localhost on bottom and others in middle if having more than 1 site; then you can access locally w/ 'http://site'; if dont have real domain, just skip DNS guide

To setup Access, follow this
[blog.jlbn.net]

To setup VH, follow this
[blog.jlbn.net]

To setup DNS, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 19, 2011 06:01PM

I do have a live shop ( remote )
I do want have a lokal shop from this live shop

Both use the same domainname :
for the live shop the dns has een ip number and a domainname
For the lokal shop there is also a ip number 127.0.0.1 with a domainname

how do i get the same domainame to different ip adresses?

In my browser i enter my domainname and opens with the live site..so using two ip adresses for the same domainname is not possible

i need the same directories paths for the live and lokal shop

Solution? : chance the domainname for the lokalshop in a other than de live shop..OK
I know that there some paths on the live shop are what have a absolute url : http/zerospec.com/....
I must this than correct when the lokal shop on the wampserver shows no data

The only solutionis to chance the domainname for the local shop that it is not equal to that of the existing now live shop

Does somebody know a other solution?..please



Edited 2 time(s). Last edit at 01/19/2011 06:06PM by janamdo.

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: yfastud (Moderator)
Date: January 19, 2011 07:13PM

You keep asking the same question over and over but did you actually go through the guides, especially see how we setupp our real domain JLBN.net and subdomains and how to access them either inside or outside LAN?

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 19, 2011 08:35PM

Problem is to know my own situation in terms of that of the tutorial..i am not expert , that's why i try by reasoning to get a sololution direction
I will study the tutorials..



Edited 1 time(s). Last edit at 01/19/2011 08:49PM by janamdo.

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: yfastud (Moderator)
Date: January 20, 2011 05:04AM

All the guides there are very basic and were built to help new Wamp users; thus, you should follow the guides and learn from there winking smiley

To be honest, the real experts will laugh to death if they ever look at those guides because they're too basic to post on the internet winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 21, 2011 10:27PM

yes, you were right the guides are easy to follow so i know what my i must do to set up a local domainname

I was too hasty .

Thanks smiling smiley

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 21, 2011 11:27PM

localhostis gone..!
After chancing the portentrance for firewall and the 2 virtualhostfiles ..hmmm

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 23, 2011 04:07PM

Well i got a litte tired from this guide mess
_ I do not use a LAN and don't have a ROUTER .. i do use only one computer local..the most basic setup there is

I only ask from the guide to installa local domainname

But perhaps i must configure my computer as i do have a LAN ?
Stupid guides ..

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: yfastud (Moderator)
Date: January 24, 2011 05:20AM

Quote

Than i must use my local ip adress for myshopname.com ?
So mylocalipadress mustn be assigned to myshopname.com?
The easiest way is to use the same directory paths as the configuration files
I am worry about the paths used on the live shop and must be the same on the local computer
He he ... he he ... You remind me about the movie iRobot

Anyways, the guide itself is not stupid but the fact is the stupid question would receive a stupid answer winking smiley

You've asked how to setup a domain name to tie to your PC and everyone knows that relates to DNS setup; then you've asked how to use same dir for both live and local and again everyone knows that relates to VH setup... anyway, if you dont have LAN and router, then ignore DNS and Access guides, just simply follow VH guide winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: change local host name to http://myshopname.com/?
Posted by: janamdo (---.cm-3-4b.dynamic.ziggo.nl)
Date: January 26, 2011 01:11PM

Maybe interesting movie I robot ?
Remember user never do stupid questions ! ( a groundrule for teaching)

Example
how to install and setup outside access : ? is this local or remote

Better for the guides is to make cases for computer setups
- lokal with no network
- lokal with network
---------------------------
- remote
- ?


Well i did the VH tutorial already, but getstucked somewhere


I do want my shop loaded in wamp local withthe same domainname, BUT the shop is also connected live on internet

So when i type in my browser [shopname.com] this adress goes local and remote .. that must be coconflicting ?



Thanks



Edited 2 time(s). Last edit at 01/27/2011 10:23AM by janamdo.

Options: ReplyQuote


Sorry, only registered users may post in this forum.