Subdomains
Posted by: Tommie (---.hsd1.ca.comcast.net)
Date: February 28, 2010 01:35AM

I finally got wamp installed and running. At the moment its setup as a live site with a domain pointing to primary ip address... The site launches fine on both local and online.

I went ahead and added a subfolder named "site2" with an index file at www/site2 .... it launches fine locally but when I try to launch online externally it doesn't launch, I get this error here below



----------------------------
Page not found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.
Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

- Click the Back button in your browser to try another link.
- Use a search engine like Google to look for information on the Internet.
HTTP 404 - File not found
------------------------------

Options: ReplyQuote
Re: Subdomains
Posted by: yfastud (Moderator)
Date: February 28, 2010 01:53AM

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: Subdomains
Posted by: Tommie (---.hsd1.ca.comcast.net)
Date: February 28, 2010 04:30AM

I followed first 2 links, but now it stopped working... pages don't work on local nor over net.. below is what I have set.. I am on windows 2008 web edition



VHOSTS file
----------------
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:[httpd.apache.org];
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#




NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.myhost.net
ServerAlias myhost.net.net domain
DocumentRoot C:/wamp/www/myhost
ErrorLog C:/wamp/www/myhost/logs/error.log
CustomLog C:/wamp/www/myhost/logs/access.log common
</VirtualHost>


<VirtualHost *:80>
ServerName djparty.myhost.net
ServerAlias djparty
DocumentRoot C:/wamp/www/djparty
ErrorLog C:/wamp/www/djparty/logs/error.log
CustomLog C:/wamp/www/djparty/logs/access.log common
</VirtualHost>


<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>
--------------------


=====================


HOSTS files
---------------------------

127.0.0.1 localhost
127.0.0.1 fiestahost
127.0.0.1 djparty



===========================


HTTPD Conf
----------------------------

# Virtual hosts
Include conf/extra/httpd-vhosts.conf






yfastud Wrote:
-------------------------------------------------------
> to setup access, follow this
> [blog.jlbn.net]
>
> to setup vh, follow this
> [blog.jlbn.net]
>
> to setup dns, follow this
> [blog.jlbn.net]

Options: ReplyQuote
Re: Subdomains
Posted by: yfastud (Moderator)
Date: February 28, 2010 06:29AM

most people have problem on step 3, so make sure to follow it precisely

Have fun,

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

Options: ReplyQuote
Re: Subdomains
Posted by: ed76 (77.238.222.---)
Date: March 24, 2010 11:45PM

i



Edited 1 time(s). Last edit at 03/25/2010 12:32AM by ed76.

Options: ReplyQuote


Sorry, only registered users may post in this forum.