Page 1 of 2

NameVirtualHost after do this hat follow setting? DNS or oth

PostPosted: 29. July 2014 13:36
by lse123
httpd-vhosts.conf
Code: Select all
NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin sssssss@ssss.com.cy
    DocumentRoot "C:/xampp/htdocs"
    ServerName www.lse-my-videos.com
    ServerAlias www.lse-my-videos.com
    ErrorLog "logs/lse-my-videos.com.localhost-error.log"
    CustomLog "logs/lse-my-videos.com.localhost-access.log" combined
</VirtualHost>


after do this what setting follows? DNS or other and where (in which file)???

<IP> http://www.lse-my-videos.com // where?

these have to exist - where - full uri?
ErrorLog "logs/lse-my-videos.com.localhost-error.log"
CustomLog "logs/lse-my-videos.com.localhost-access.log" combined

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 30. July 2014 14:22
by Nobbie
lse123 wrote:after do this what setting follows? DNS or other and where (in which file)???


In the hosts file of Windows: http://en.wikipedia.org/wiki/Hosts_(file)

If the Domain should be known wordwide, you need a provider which sets up a DNS Server including your domain name.

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 30. July 2014 15:54
by lse123
CORRECT YOUR URL ")" not included in hyperlink... last char - click it to see
I found here
C:\Windows\System32\drivers\etc

you mean is general windows file - that XAMPP Use?

I want domain ONLY in LAN/WLAN not outside local home network...
so can have
192.168.10.10 www.lse-my-videos.com
(192.168.10.10 = my current local IP)

C:\Users\User>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : **********
IPv4 Address. . . . . . . . . . . : 192.168.10.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : **********

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 30. July 2014 22:28
by Nobbie
lse123 wrote:CORRECT YOUR URL ")" not included in hyperlink


Thats an error in this forum script, i simply copied the working URL to here.

lse123 wrote:you mean is general windows file - that XAMPP Use?


Xampp ist nothing, there is no "Xampp USE", Domains and URLs are not Xampp specific.

lse123 wrote:192.168.10.10 http://www.lse-my-videos.com


This is badly wrong, if you look into hosts file, you will not find any "http://", but only domain names. Without leading protocoll.

You have to adapt this domain into every(!) host file of every(!) PC in your LAN which should reach that domain.

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 05. August 2014 20:54
by lse123
IN THE INTENT to reach that domain from Mobile device, what must do? can do this at all in Android or iPad?

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 17. August 2014 19:28
by lse123
I have below but this works http://192.168.10.8/VIDEO/ the domain Not... well? needed other setting - i restarted xampp(win 7)

C:\Windows\System32\drivers\etc\hosts
192.168.10.8 http://www.lse-my-videos.com

C:\xampp\apache\conf\extra\httpd-vhosts.conf
NameVirtualHost *:60000

<VirtualHost *:60000>
ServerAdmin ttttt@cytanet.com.cy
DocumentRoot "C:/xampp/htdocs/VIDEO"
ServerName http://www.lse-my-videos.com
ServerAlias http://www.lse-my-videos.com

</VirtualHost>

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 17. August 2014 19:40
by lse123
Code: Select all
NameVirtualHost 192.168.10.8:80

<VirtualHost 192.168.10.8:80>
    ServerAdmin ttttt@cytanet.com.cy
    DocumentRoot "C:/xampp/htdocs/VIDEO"
    ServerName www.lse-my-videos.com
    ServerAlias www.lse-my-videos.com
    <Directory C:/xampp/htdocs/VIDEO>
   Allow from all
    </Directory>
</VirtualHost>


worked but work like C:/xampp/htdocs/ domain point to root not to VIDEO.... CAN POINT IN A SUB-FOLDER?

another matter : is any way run www.lse-my-videos.com on mobile device???

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 19. August 2014 18:15
by jammy
lse123 wrote:
Code: Select all
NameVirtualHost 192.168.10.8:80

<VirtualHost 192.168.10.8:80>
    ServerAdmin ttttt@cytanet.com.cy
    DocumentRoot "C:/xampp/htdocs/VIDEO"
    ServerName www.lse-my-videos.com
    ServerAlias www.lse-my-videos.com
    <Directory C:/xampp/htdocs/VIDEO>
   Allow from all
    </Directory>
</VirtualHost>


worked but work like C:/xampp/htdocs/ domain point to root not to VIDEO.... CAN POINT IN A SUB-FOLDER?

another matter : is any way run http://www.lse-my-videos.com on mobile device???


Perhaps googling "How to become a webhost" or "Host website from home" would do you better

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 20. August 2014 10:43
by lse123
may by anyway this local WLAN domain work on iOS or Android or WP8 mobile devices?

WLAN IP 192.168.10.8 worked in the past i think - access XAMPP - from mobiles wireless devices, but now not work... I have to have two IPs one for access point wifi WLAN and one for LAN ethernet? Although my mobile devices get wifi i have only one connection - access point not shown in Network Connections win 7...

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 20. August 2014 15:58
by Nobbie
Sorry, but is to hard to understand what you mean.

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 20. August 2014 20:23
by lse123
I MEAN
i can not access XAMPP htdocs html files using IP (access point) from WLAN devices - only ethernet IP appears after ipconfig in CLI....
how access XAMPP files from Mobile Devices on WLAN?

http://192.168.10.8/OOJS/index.html this works in pc but not on mobile


C:\Users\User>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : lan
Link-local IPv6 Address . . . . . : iiiiiii
IPv4 Address. . . . . . . . . . . : 192.168.10.8 // THIS IS ETHERNET WHERE WIFI IP
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.254

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fffff
Autoconfiguration IPv4 Address. . : ffff
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fjjjjj
IPv4 Address. . . . . . . . . . . : 192.168.40.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 20. August 2014 22:03
by Nobbie
lse123 wrote:I MEAN
i can not access XAMPP htdocs html files using IP (access point) from WLAN devices - only ethernet IP appears after ipconfig in CLI....


Of course the Xampp Server is NOT connected via Wifi, it is ONLY connected via LAN.

THIS IS ETHERNET WHERE WIFI IP


NO!!!! This is NOT WIFI!!! This is LAN ONLY!!! Via CABLE. NOT WIRELESS. You understand?

lse123 wrote:how access XAMPP files from Mobile Devices on WLAN?

http://192.168.10.8/OOJS/index.html this works in pc but not on mobile


What is the Wifi IP of your Mobile Device in your WLAN?

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 21. August 2014 08:07
by lse123
You say "What is the Wifi IP of your Mobile Device in your WLAN?"

How find? internet gateway site lists many androids in my WLAN... eg is 192.168.10.23 then what?

I think prior 1mo or so i could access from mobile... via WLAN.

PLEASE SEE THE VIDEO HERE:
http://windows.microsoft.com/en-us/wind ... =windows-7

HAS BOTH LAN AND WLAN CONNECTIONS IN NETWORK CONNECTIONS , AND FINDS IP FOR WLAN.

Well why me only LAN IN NETWORK CONNECTIONS not WLAN?

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 21. August 2014 09:31
by Nobbie
lse123 wrote:You say "What is the Wifi IP of your Mobile Device in your WLAN?"

How find? internet gateway site lists many androids in my WLAN... eg is 192.168.10.23 then what?


Look into Network Setup of your Android Smartphone/Tablet.

Re: NameVirtualHost after do this hat follow setting? DNS or

PostPosted: 21. August 2014 10:31
by lse123
you mean i had to use this address NOT the WLAN (ACCESS POINT) ADDRESS? i THINK SINCE HTML PAGE IS IN PC I MUST USE WLAN NOT ANDROID TABLET...IP.