move from localhost to my domain
Posted by: ctsouri (46.251.102.---)
Date: December 16, 2011 07:37AM

Dear friends,

I kinda newbie on this so i will try to explain my problem as good as i can.
We used to pay a webhost company in order to keep our website but because of many problems we have decided to build a webserver here in order to host our webpage.
So i have decided to work with wampserver. I have succesfully uploaded my database and my webpage at wampserver and it works perfectly on localhost.
My problem is that i don't know how to make my webpage to work using my domain (domain.com.cy) so that outsiders can see it.
Any quick help would be appreciated.

Thank you,
Constantinos Tsouris
IT

Options: ReplyQuote
Re: move from localhost to my domain
Posted by: tejli007 (---.cust.tele2.at)
Date: December 20, 2011 09:51PM

you have to register nameservers.
than update nameservers with ns1.yourdomain.com and ns2 yourdomain.com

hope works smiling smiley

Options: ReplyQuote
Re: move from localhost to my domain
Posted by: ctsouri (212.50.97.---)
Date: December 22, 2011 01:50PM

yeah that will work fine, i have talked with my isp and they will register my domain there, i only have one more question if anyone know, when i open the ports to my server and from a computer outsite i put in the explorer [myip] and i go directly to my website. Is there a way to put just the ip without the folder or it is impossible.

Thanks

Options: ReplyQuote
Re: move from localhost to my domain
Posted by: toivo (---.belrs4.nsw.optusnet.com.au)
Date: December 29, 2011 03:29AM

If you create a virtual host for your domain, you do not need the folder in the URL. You need to uncomment the link to the virtual host definitions in the httd.conf file in the conf subfolder under Apache:
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
Include conf/extra/httpd-vhosts.conf
The file conf/extra/httpd-vhosts.conf has two sample sites but you should also define the document root directory for your site, for example:

<VirtualHost *:80>
    ServerName joomla250
    ServerAlias www.joomla250
    DocumentRoot "c:\www\joomla250beta1"
    ServerAdmin firstname.lastname@email.com
    ErrorLog "logs/joomla250-error.log"
    CustomLog "logs/joomla250-access.log" common
	
   <Directory c:\www\joomla250beta1>
      DirectoryIndex index.php 
      Options None
      AllowOverride all
      Order allow,deny
      Allow from all
    </Directory>
</VirtualHost>

The virtual host settings are documented at the Apache site: [httpd.apache.org]
Keep in mind that the first virtual host is the default site, if someone browses to the site with an IP address or a subdomain for which you have not defined a ServerName or ServerAlias in a virtual host.

Options: ReplyQuote
Re: move from localhost to my domain
Posted by: yfastud (Moderator)
Date: January 05, 2012 01:18AM

No matter within or outside LAN access, 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/IP's 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; w/ VH, other PC's, no matter w/i or outside LAN, can access/see websites/contents of that particular folder set for that particular VH on your wamp PC. 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


Sorry, only registered users may post in this forum.